aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Groups.c1
-rw-r--r--src/HostNames.c2
-rw-r--r--src/IO.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/Groups.c b/src/Groups.c
index fc8be17..a93b08f 100644
--- a/src/Groups.c
+++ b/src/Groups.c
@@ -9,6 +9,7 @@
@@*/
#include <string.h>
+#include <stdlib.h>
#include "cctk.h"
#include "util_String.h"
diff --git a/src/HostNames.c b/src/HostNames.c
index 132dd0a..160bf7e 100644
--- a/src/HostNames.c
+++ b/src/HostNames.c
@@ -13,6 +13,8 @@
#include "util_Network.h"
#endif
+#include <stdlib.h>
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
diff --git a/src/IO.c b/src/IO.c
index 901ef76..d4a0f55 100644
--- a/src/IO.c
+++ b/src/IO.c
@@ -10,6 +10,7 @@
#include "cctk.h"
#include "cctk_Parameters.h"
+#include <stdlib.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>