summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/wallclock/tm_cvt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/wallclock/tm_cvt.c b/src/lib/wallclock/tm_cvt.c
index 63f92bff24..987b0ffebf 100644
--- a/src/lib/wallclock/tm_cvt.c
+++ b/src/lib/wallclock/tm_cvt.c
@@ -13,6 +13,7 @@
#include <errno.h>
#include <time.h>
#include <string.h>
+#include <stdlib.h>
#if !defined(_WIN32)
/** Defined iff we need to add locks when defining fake versions of reentrant