aboutsummaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 6fab5be1..10b3d7e1 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -8,6 +8,9 @@
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
+#if defined(STDC_HEADERS)
+#include <stdlib.h>
+#endif
#include "fetchmail.h"
#if defined(HAVE_VOIDPOINTER)