Module Name: src
Committed By: christos
Date: Thu Aug 9 11:05:59 UTC 2012
Modified Files:
src/bin/pax: getoldopt.c options.c
Log Message:
add missing include files
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/bin/pax/getoldopt.c
cvs rdiff -u -r1.113 -r1.114 src/bin/pax/options.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/pax/getoldopt.c
diff -u src/bin/pax/getoldopt.c:1.22 src/bin/pax/getoldopt.c:1.23
--- src/bin/pax/getoldopt.c:1.22 Sat Feb 11 05:43:18 2006
+++ src/bin/pax/getoldopt.c Thu Aug 9 07:05:59 2012
@@ -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 @@ __RCSID("$NetBSD: getoldopt.c,v 1.22 200
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/stat.h>
#include "pax.h"
#include "extern.h"
Index: src/bin/pax/options.c
diff -u src/bin/pax/options.c:1.113 src/bin/pax/options.c:1.114
--- src/bin/pax/options.c:1.113 Tue Mar 20 14:42:28 2012
+++ src/bin/pax/options.c Thu Aug 9 07:05:59 2012
@@ -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 @@ __RCSID("$NetBSD: options.c,v 1.113 2012
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <inttypes.h>
#include <paths.h>
#include "pax.h"
#include "options.h"