Source-Changes-HG archive

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

[src/trunk]: src/bin/pax add missing include files



details:   https://anonhg.NetBSD.org/src/rev/f719321291ec
branches:  trunk
changeset: 780848:f719321291ec
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 09 11:05:59 2012 +0000

description:
add missing include files

diffstat:

 bin/pax/getoldopt.c |  5 +++--
 bin/pax/options.c   |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 3875bcabb650 -r f719321291ec bin/pax/getoldopt.c
--- a/bin/pax/getoldopt.c       Thu Aug 09 09:15:21 2012 +0000
+++ b/bin/pax/getoldopt.c       Thu Aug 09 11:05:59 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getoldopt.c,v 1.22 2006/02/11 10:43:18 dsl Exp $       */
+/*     $NetBSD: getoldopt.c,v 1.23 2012/08/09 11:05:59 christos Exp $  */
 
 /*
  * Plug-compatible replacement for getopt() for parsing tar-like
@@ -15,7 +15,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: getoldopt.c,v 1.22 2006/02/11 10:43:18 dsl Exp $");
+__RCSID("$NetBSD: getoldopt.c,v 1.23 2012/08/09 11:05:59 christos Exp $");
 #endif /* not lint */
 
 #if HAVE_NBTOOL_CONFIG_H
@@ -27,6 +27,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/stat.h>
 #include "pax.h"
 #include "extern.h"
diff -r 3875bcabb650 -r f719321291ec bin/pax/options.c
--- a/bin/pax/options.c Thu Aug 09 09:15:21 2012 +0000
+++ b/bin/pax/options.c Thu Aug 09 11:05:59 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: options.c,v 1.113 2012/03/20 18:42:28 matt Exp $       */
+/*     $NetBSD: options.c,v 1.114 2012/08/09 11:05:59 christos Exp $   */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)options.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: options.c,v 1.113 2012/03/20 18:42:28 matt Exp $");
+__RCSID("$NetBSD: options.c,v 1.114 2012/08/09 11:05:59 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -62,6 +62,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <inttypes.h>
 #include <paths.h>
 #include "pax.h"
 #include "options.h"



Home | Main Index | Thread Index | Old Index