diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-22 18:13:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-22 18:13:09 +0000 |
commit | 816157c2a69a5276a1b3148eb5a51abdbe80f669 (patch) | |
tree | 27abca62fb30360e40abc5f096b8bfb909e86c94 /pkgtools | |
parent | 261029f193d93dc2aaa3d4d6e0ce34ca1a099582 (diff) | |
download | pkgsrc-816157c2a69a5276a1b3148eb5a51abdbe80f669.tar.gz |
Ensure everything is prototypes correctly.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libkver/files/lib/kver.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/libkver/files/lib/kver.c b/pkgtools/libkver/files/lib/kver.c index dbd848c5ad0..7626b44bfbd 100644 --- a/pkgtools/libkver/files/lib/kver.c +++ b/pkgtools/libkver/files/lib/kver.c @@ -1,4 +1,7 @@ -/* $NetBSD: kver.c,v 1.9 2006/08/11 14:44:29 taca Exp $ */ +/* $NetBSD: kver.c,v 1.10 2011/11/22 18:13:09 joerg Exp $ */ + +#define sysctl _sysctl +#define uname _uname #include <sys/types.h> #include <sys/param.h> @@ -11,6 +14,10 @@ #include <err.h> #include <stdlib.h> #include <ctype.h> +#include <unistd.h> + +#undef sysctl +#undef uname #define KVER_VERSION_FMT "NetBSD %s (LIBKVER) #0: Tue Jan 19 00:00:00 UTC 2038 root@localhost:/sys/arch/%s/compile/LIBKVER" |