includes.h 995 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * hostapd - Default include files
  3. * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. *
  8. * This header file is included into all C files so that commonly used header
  9. * files can be selected with OS specific ifdef blocks in one place instead of
  10. * having to have OS/C library specific selection in many files.
  11. */
  12. #ifndef INCLUDES_H
  13. #define INCLUDES_H
  14. #include <stdlib.h>
  15. #include <stddef.h>
  16. #include <stdio.h>
  17. #include <stdarg.h>
  18. #include <string.h>
  19. #ifndef _WIN32_WCE
  20. #include <signal.h>
  21. #include <sys/types.h>
  22. #include <errno.h>
  23. #endif /* _WIN32_WCE */
  24. #include <ctype.h>
  25. #ifndef _MSC_VER
  26. #include <unistd.h>
  27. #endif /* _MSC_VER */
  28. #ifndef CONFIG_NATIVE_WINDOWS
  29. #include <sys/socket.h>
  30. #include <netinet/in.h>
  31. #include <arpa/inet.h>
  32. #ifndef __vxworks
  33. #include <sys/uio.h>
  34. #include <sys/time.h>
  35. #endif /* __vxworks */
  36. #endif /* CONFIG_NATIVE_WINDOWS */
  37. #endif /* INCLUDES_H */