summaryrefslogtreecommitdiff
path: root/src/callproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 51a4f59e3c3..f135731bd4c 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -42,6 +42,10 @@ extern char *strerror ();
#include <fcntl.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#ifdef WINDOWSNT
#define NOMINMAX
#include <windows.h>