diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 03:36:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 03:36:06 +0000 |
commit | 9a245ba0a55145bc8830b5681f19732fbfd09db4 (patch) | |
tree | 0ad83f37d92f6f68f715dbb66acdc35b5d4cc7a1 /sbin/sysctl/sysctl.c | |
parent | 5b9f1e35697d6860d472799e1624376978068dfb (diff) | |
download | FreeBSD-src-9a245ba0a55145bc8830b5681f19732fbfd09db4.zip FreeBSD-src-9a245ba0a55145bc8830b5681f19732fbfd09db4.tar.gz |
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for its prerequisite <sys/time.h>.
#include <sys/param.h> in the correct place instead of bogusly including
<sys/types.h>.
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r-- | sbin/sysctl/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index e93d154..4d5e3e1 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -45,11 +45,11 @@ static const char rcsid[] = "$FreeBSD$"; #endif /* not lint */ -#include <sys/types.h> +#include <sys/param.h> +#include <sys/time.h> +#include <sys/resource.h> #include <sys/stat.h> #include <sys/sysctl.h> -#include <sys/resource.h> -#include <sys/param.h> #include <ctype.h> #include <err.h> |