summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 779a0ef804c..3b25e691166 100644
--- a/src/getloadavg.c
+++ b/src/getloadavg.c
@@ -355,10 +355,7 @@ extern int errno;
# define LDAV_SYMBOL "avenrun"
# endif
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
-
+# include <unistd.h>
# include <stdio.h>
/* LOAD_AVE_TYPE should only get defined if we're going to use the