std_includes.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #ifndef STD_HEADERS_INCLUDED
  11. #define STD_HEADERS_INCLUDED
  12. #ifndef _WIN32_WCE /* Some ANSI #includes are not available on Windows CE */
  13. #include <sys/types.h>
  14. #include <sys/stat.h>
  15. #include <time.h>
  16. #include <errno.h>
  17. #include <signal.h>
  18. #include <fcntl.h>
  19. #endif /* _WIN32_WCE */
  20. #include <stdlib.h>
  21. #include <stdarg.h>
  22. #include <assert.h>
  23. #include <string.h>
  24. #include <ctype.h>
  25. #include <limits.h>
  26. #include <stddef.h>
  27. #include <stdio.h>
  28. #if defined(_WIN32) /* Windows specific */
  29. #include "compat_win32.h"
  30. #elif defined(__rtems__) /* RTEMS specific */
  31. #include "compat_rtems.h"
  32. #else /* UNIX specific */
  33. #include "compat_unix.h"
  34. #endif /* _WIN32 */
  35. #endif /* STD_HEADERS_INCLUDED */