diff options
author | Roy Marples <roy@marples.name> | 2007-07-31 16:40:32 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-07-31 16:40:32 +0000 |
commit | 90f0ea65cbe2958de6a08e8f909000df46c9b817 (patch) | |
tree | 7cefdd24fdd5a99dc9fce709d8d4b878b9cb3f6f /src | |
parent | cb172722a985dcd3d7ec4bb69622daf84ff4793d (diff) |
Fix building on uclibc thanks to Solar
Diffstat (limited to 'src')
-rw-r--r-- | src/mountinfo.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c index 76fec3bf..0461ee13 100644 --- a/src/mountinfo.c +++ b/src/mountinfo.c @@ -7,25 +7,23 @@ #define APPLET "mountinfo" +#include <sys/types.h> + #if defined(__DragonFly__) || defined(__FreeBSD__) || \ defined(__NetBSD__) || defined(__OpenBSD__) #define BSD - -#include <sys/types.h> #include <sys/param.h> #include <sys/ucred.h> #include <sys/mount.h> -#elif defined(__linux__) -#include <limits.h> #endif #include <errno.h> #include <getopt.h> #include <limits.h> -#include <regex.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <regex.h> #include "builtins.h" #include "einfo.h" |