aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_itc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_itc.h')
-rw-r--r--src/microhttpd/mhd_itc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_itc.h b/src/microhttpd/mhd_itc.h
index a7cad0e1..27b36392 100644
--- a/src/microhttpd/mhd_itc.h
+++ b/src/microhttpd/mhd_itc.h
@@ -38,7 +38,9 @@
38 38
39#ifndef MHD_PANIC 39#ifndef MHD_PANIC
40# include <stdio.h> 40# include <stdio.h>
41# include <stdlib.h> 41# ifdef HAVE_STDLIB_H
42# include <stdlib.h>
43# endif /* HAVE_STDLIB_H */
42/* Simple implementation of MHD_PANIC, to be used outside lib */ 44/* Simple implementation of MHD_PANIC, to be used outside lib */
43# define MHD_PANIC(msg) do { fprintf (stderr, \ 45# define MHD_PANIC(msg) do { fprintf (stderr, \
44 "Abnormal termination at %d line in file %s: %s\n", \ 46 "Abnormal termination at %d line in file %s: %s\n", \