diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 307e525c..4837f3db 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -74,9 +74,11 @@ | |||
74 | #include <fcntl.h> | 74 | #include <fcntl.h> |
75 | #include <signal.h> | 75 | #include <signal.h> |
76 | #include <stddef.h> | 76 | #include <stddef.h> |
77 | #ifdef MHD_USE_POSIX_THREADS | ||
77 | #undef HAVE_CONFIG_H | 78 | #undef HAVE_CONFIG_H |
78 | #include <pthread.h> | 79 | #include <pthread.h> |
79 | #define HAVE_CONFIG_H 1 | 80 | #define HAVE_CONFIG_H 1 |
81 | #endif // MHD_USE_POSIX_THREADS | ||
80 | 82 | ||
81 | /* different OSes have fd_set in | 83 | /* different OSes have fd_set in |
82 | a broad range of header files; | 84 | a broad range of header files; |