diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-04-01 21:14:53 -0700 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-04 07:49:52 +0200 |
commit | 0498e99f7f0105cb412e0ed8042eda8005d5cd6f (patch) | |
tree | 3eee97806cfcf26b2561cc4ad223828babdb8f58 /src/include | |
parent | 06819f2e894405e691bd8532b60836f32468f12c (diff) | |
download | libmicrohttpd-0498e99f7f0105cb412e0ed8042eda8005d5cd6f.tar.gz libmicrohttpd-0498e99f7f0105cb412e0ed8042eda8005d5cd6f.zip |
use ifdef for several HAVE header macros
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/platform.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index b5861d25..4376636e 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -70,32 +70,32 @@ | |||
70 | #endif /* HAVE_INETLIB_H */ | 70 | #endif /* HAVE_INETLIB_H */ |
71 | #endif /* __VXWORKS__ */ | 71 | #endif /* __VXWORKS__ */ |
72 | 72 | ||
73 | #if HAVE_MEMORY_H | 73 | #ifdef HAVE_MEMORY_H |
74 | #include <memory.h> | 74 | #include <memory.h> |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #if HAVE_SYS_SELECT_H | 77 | #ifdef HAVE_SYS_SELECT_H |
78 | #include <sys/select.h> | 78 | #include <sys/select.h> |
79 | #endif | 79 | #endif |
80 | #if HAVE_SYS_TYPES_H | 80 | #ifdef HAVE_SYS_TYPES_H |
81 | #include <sys/types.h> | 81 | #include <sys/types.h> |
82 | #endif | 82 | #endif |
83 | #if HAVE_SYS_TIME_H | 83 | #ifdef HAVE_SYS_TIME_H |
84 | #include <sys/time.h> | 84 | #include <sys/time.h> |
85 | #endif | 85 | #endif |
86 | #if HAVE_SYS_STAT_H | 86 | #ifdef HAVE_SYS_STAT_H |
87 | #include <sys/stat.h> | 87 | #include <sys/stat.h> |
88 | #endif | 88 | #endif |
89 | #if HAVE_SYS_MSG_H | 89 | #ifdef HAVE_SYS_MSG_H |
90 | #include <sys/msg.h> | 90 | #include <sys/msg.h> |
91 | #endif | 91 | #endif |
92 | #if HAVE_SYS_MMAN_H | 92 | #ifdef HAVE_SYS_MMAN_H |
93 | #include <sys/mman.h> | 93 | #include <sys/mman.h> |
94 | #endif | 94 | #endif |
95 | #if HAVE_TIME_H | 95 | #ifdef HAVE_TIME_H |
96 | #include <time.h> | 96 | #include <time.h> |
97 | #endif | 97 | #endif |
98 | #if HAVE_SYS_SOCKET_H | 98 | #ifdef HAVE_SYS_SOCKET_H |
99 | #include <sys/socket.h> | 99 | #include <sys/socket.h> |
100 | #endif | 100 | #endif |
101 | #if defined(_WIN32) && ! defined(__CYGWIN__) | 101 | #if defined(_WIN32) && ! defined(__CYGWIN__) |