aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_compat.h')
-rw-r--r--src/microhttpd/mhd_compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_compat.h b/src/microhttpd/mhd_compat.h
index 3f88055f..19ebac5f 100644
--- a/src/microhttpd/mhd_compat.h
+++ b/src/microhttpd/mhd_compat.h
@@ -36,6 +36,12 @@
36 36
37#include "mhd_options.h" 37#include "mhd_options.h"
38#include <stdlib.h> 38#include <stdlib.h>
39#ifdef HAVE_STRING_H /* for strerror() */
40#include <string.h>
41#endif /* HAVE_STRING_H */
42
43 /* MHD_strerror_ is strerror */
44#define MHD_strerror_(errnum) strerror((errnum))
39 45
40/* Platform-independent snprintf name */ 46/* Platform-independent snprintf name */
41#if defined(HAVE_SNPRINTF) 47#if defined(HAVE_SNPRINTF)