pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libkver/files/lib Fix compile problem on gcc-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b53d4312027e
branches:  trunk
changeset: 517462:b53d4312027e
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Aug 11 14:44:29 2006 +0000

description:
Fix compile problem on gcc-4; added simply includes of <stdio.h>.

diffstat:

 pkgtools/libkver/files/lib/kver.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3834511d97bd -r b53d4312027e pkgtools/libkver/files/lib/kver.c
--- a/pkgtools/libkver/files/lib/kver.c Fri Aug 11 13:59:52 2006 +0000
+++ b/pkgtools/libkver/files/lib/kver.c Fri Aug 11 14:44:29 2006 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index