aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/config.h.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/config.h.cmake.in')
-rw-r--r--external/unbound/config.h.cmake.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/unbound/config.h.cmake.in b/external/unbound/config.h.cmake.in
index 9658c8693..87c282f25 100644
--- a/external/unbound/config.h.cmake.in
+++ b/external/unbound/config.h.cmake.in
@@ -781,8 +781,11 @@
#endif
#include <assert.h>
-#if STDC_HEADERS
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#endif
+
+#if STDC_HEADERS
#include <stddef.h>
#endif