version 0.1.6
[fms.git] / libs / shttpd / std_includes.h
1 /*
2  * Copyright (c) 2004-2005 Sergey Lyubka <valenok@gmail.com>
3  * All rights reserved
4  *
5  * "THE BEER-WARE LICENSE" (Revision 42):
6  * Sergey Lyubka wrote this file.  As long as you retain this notice you
7  * can do whatever you want with this stuff. If we meet some day, and you think
8  * this stuff is worth it, you can buy me a beer in return.
9  */
10
11 #ifndef STD_HEADERS_INCLUDED
12 #define STD_HEADERS_INCLUDED
13
14 #ifndef _WIN32_WCE /* Some ANSI #includes are not available on Windows CE */
15 #include <sys/types.h>
16 #include <sys/stat.h>
17 #include <time.h>
18 #include <errno.h>
19 #include <signal.h>
20 #include <fcntl.h>
21 #endif /* _WIN32_WCE */
22
23 #include <stdlib.h>
24 #include <stdarg.h>
25 #include <assert.h>
26 #include <string.h>
27 #include <ctype.h>
28 #include <limits.h>
29 #include <stddef.h>
30 #include <stdio.h>
31 #include <wchar.h>
32
33 #if defined(_WIN32)             /* Windows specific     */
34 #include "compat_win32.h"
35 #elif defined(__rtems__)        /* RTEMS specific       */
36 #include "compat_rtems.h"
37 #else                           /* UNIX  specific       */
38 #include "compat_unix.h"
39 #endif /* _WIN32 */
40
41 #endif /* STD_HEADERS_INCLUDED */