summaryrefslogtreecommitdiff
path: root/pkgtools/libkver
diff options
context:
space:
mode:
authortaca <taca>2006-08-11 14:44:29 +0000
committertaca <taca>2006-08-11 14:44:29 +0000
commit5317c0922ca826159ee2fe34506102779a62e662 (patch)
treeeb3f3186cf2480a3e022103a392d2b1ac408bd58 /pkgtools/libkver
parent6ce3a5e37bcb0af0991c78f805df4c5f6fe3c029 (diff)
downloadpkgsrc-5317c0922ca826159ee2fe34506102779a62e662.tar.gz
Fix compile problem on gcc-4; added simply includes of <stdio.h>.
Diffstat (limited to 'pkgtools/libkver')
-rw-r--r--pkgtools/libkver/files/lib/kver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/libkver/files/lib/kver.c b/pkgtools/libkver/files/lib/kver.c
index dae85e7dada..dbd848c5ad0 100644
--- a/pkgtools/libkver/files/lib/kver.c
+++ b/pkgtools/libkver/files/lib/kver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kver.c,v 1.8 2006/04/09 17:47:46 cube Exp $ */
+/* $NetBSD: kver.c,v 1.9 2006/08/11 14:44:29 taca Exp $ */
#include <sys/types.h>
#include <sys/param.h>
@@ -6,6 +6,7 @@
#include <sys/utsname.h>
#include <assert.h>
#include <errno.h>
+#include <stdio.h>
#include <string.h>
#include <err.h>
#include <stdlib.h>