aboutsummaryrefslogtreecommitdiff
path: root/src/rc-misc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-09 12:52:09 +0000
committerRoy Marples <roy@marples.name>2007-10-09 12:52:09 +0000
commite89805e0c06792c58c19e47f99ab6379d69a2149 (patch)
treeeba526ca3afdfdeb7f4baeba464956206aaa62d0 /src/rc-misc.c
parent3ac49bd6b3ad681a98fb1c19c379c5ac68c8cc3f (diff)
Quiet some compile time warnings on uclibc
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>