aboutsummaryrefslogtreecommitdiff
path: root/src/rc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-misc.c')
-rw-r--r--src/rc-misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rc-misc.c b/src/rc-misc.c
index 1215c0c1..a23effd5 100644
--- a/src/rc-misc.c
+++ b/src/rc-misc.c
@@ -4,13 +4,15 @@
Copyright 2007 Gentoo Foundation
*/
+#include <sys/types.h>
+
#ifdef __linux__
#include <sys/sysinfo.h>
+#include <regex.h>
#endif
#include <sys/utsname.h>
#include <limits.h>
-#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>