diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-09-12 19:52:42 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-09-12 19:52:42 +0000 |
commit | f9e069084cb5bb4b251bc75ad91b1ff1b165d2cc (patch) | |
tree | 1428eb76a25d0973a3f463b2d51dcd9733105399 /lib/libc/gen/getpagesize.c | |
parent | 3e75d8f4fd2ce44a911bb6bb23fe8df8dc610d89 (diff) | |
download | FreeBSD-src-f9e069084cb5bb4b251bc75ad91b1ff1b165d2cc.zip FreeBSD-src-f9e069084cb5bb4b251bc75ad91b1ff1b165d2cc.tar.gz |
Include a couple of headers to ensure consistency between the prototype and
the function definition.
Diffstat (limited to 'lib/libc/gen/getpagesize.c')
-rw-r--r-- | lib/libc/gen/getpagesize.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getpagesize.c b/lib/libc/gen/getpagesize.c index 6963cfd..5e8e723 100644 --- a/lib/libc/gen/getpagesize.c +++ b/lib/libc/gen/getpagesize.c @@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> +#include <unistd.h> + /* * This is unlikely to change over the running time of any * program, so we cache the result to save some syscalls. |