summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-05-10 04:25:30 +0000
committerjlam <jlam@pkgsrc.org>2006-05-10 04:25:30 +0000
commit65b866d2f4cc15938c8e226d78f8cd14bca8090a (patch)
tree1aac2d7a1aada4cdc2bd14b93d9593fd58beba62 /pkgtools
parent7a6c37fc128d724073d241790cab4c08e9df9db8 (diff)
downloadpkgsrc-65b866d2f4cc15938c8e226d78f8cd14bca8090a.tar.gz
Make pkg_install build on platforms that don't define the PRIu64 integer
format modifier. We include "defs.h" in the files that use PRIu64 as that is the header that contains stand-in definition.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/add/perform.c5
-rw-r--r--pkgtools/pkg_install/files/info/show.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c
index 10ad6497af5..a00712dacc0 100644
--- a/pkgtools/pkg_install/files/add/perform.c
+++ b/pkgtools/pkg_install/files/add/perform.c
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.41 2006/04/24 13:52:04 dillo Exp $ */
+/* $NetBSD: perform.c,v 1.42 2006/05/10 04:25:30 jlam Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -14,7 +14,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.41 2006/04/24 13:52:04 dillo Exp $");
+__RCSID("$NetBSD: perform.c,v 1.42 2006/05/10 04:25:30 jlam Exp $");
#endif
#endif
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: perform.c,v 1.41 2006/04/24 13:52:04 dillo Exp $");
#if HAVE_ERRNO_H
#include <errno.h>
#endif
+#include "defs.h"
#include "lib.h"
#include "add.h"
#include "verify.h"
diff --git a/pkgtools/pkg_install/files/info/show.c b/pkgtools/pkg_install/files/info/show.c
index 38d42591b8c..0f402c4012b 100644
--- a/pkgtools/pkg_install/files/info/show.c
+++ b/pkgtools/pkg_install/files/info/show.c
@@ -1,4 +1,4 @@
-/* $NetBSD: show.c,v 1.10 2006/04/24 13:52:05 dillo Exp $ */
+/* $NetBSD: show.c,v 1.11 2006/05/10 04:25:30 jlam Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,7 +11,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: show.c,v 1.11 1997/10/08 07:47:38 charnier Exp";
#else
-__RCSID("$NetBSD: show.c,v 1.10 2006/04/24 13:52:05 dillo Exp $");
+__RCSID("$NetBSD: show.c,v 1.11 2006/05/10 04:25:30 jlam Exp $");
#endif
#endif
@@ -68,6 +68,7 @@ __RCSID("$NetBSD: show.c,v 1.10 2006/04/24 13:52:05 dillo Exp $");
#include <err.h>
#endif
+#include "defs.h"
#include "lib.h"
#include "info.h"