diff options
Diffstat (limited to 'src/microhttpd/mhd_locks.h')
-rw-r--r-- | src/microhttpd/mhd_locks.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_locks.h b/src/microhttpd/mhd_locks.h index 2ef7747e..654ecb6c 100644 --- a/src/microhttpd/mhd_locks.h +++ b/src/microhttpd/mhd_locks.h | |||
@@ -58,7 +58,9 @@ | |||
58 | 58 | ||
59 | #ifndef MHD_PANIC | 59 | #ifndef MHD_PANIC |
60 | # include <stdio.h> | 60 | # include <stdio.h> |
61 | # include <stdlib.h> | 61 | # ifdef HAVE_STDLIB_H |
62 | # include <stdlib.h> | ||
63 | # endif /* HAVE_STDLIB_H */ | ||
62 | /* Simple implementation of MHD_PANIC, to be used outside lib */ | 64 | /* Simple implementation of MHD_PANIC, to be used outside lib */ |
63 | # define MHD_PANIC(msg) do { fprintf (stderr, \ | 65 | # define MHD_PANIC(msg) do { fprintf (stderr, \ |
64 | "Abnormal termination at %d line in file %s: %s\n", \ | 66 | "Abnormal termination at %d line in file %s: %s\n", \ |