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/compat-43/gethostid.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/compat-43/gethostid.c')
-rw-r--r-- | lib/libc/compat-43/gethostid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/compat-43/gethostid.c b/lib/libc/compat-43/gethostid.c index cc1b905..5126371 100644 --- a/lib/libc/compat-43/gethostid.c +++ b/lib/libc/compat-43/gethostid.c @@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> +#include <unistd.h> + long gethostid(void) { |