Module Name: src
Committed By: christos
Date: Thu Oct 17 17:22:59 UTC 2013
Modified Files:
src/usr.sbin/mtree: compare.c create.c spec.c
Log Message:
Our <sys/param.h> ends up calling header files that define intmax_t. This
should not be the case (but >sys/param.h> is not a standard header so all bets
are off). FreeBSD's does not, so explicitly include <stdint.h> to get it.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/mtree/compare.c
cvs rdiff -u -r1.71 -r1.72 src/usr.sbin/mtree/create.c
cvs rdiff -u -r1.87 -r1.88 src/usr.sbin/mtree/spec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/mtree/compare.c
diff -u src/usr.sbin/mtree/compare.c:1.56 src/usr.sbin/mtree/compare.c:1.57
--- src/usr.sbin/mtree/compare.c:1.56 Mon Sep 9 19:27:43 2013
+++ src/usr.sbin/mtree/compare.c Thu Oct 17 13:22:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: compare.c,v 1.56 2013/09/09 23:27:43 christos Exp $ */
+/* $NetBSD: compare.c,v 1.57 2013/10/17 17:22:59 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)compare.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: compare.c,v 1.56 2013/09/09 23:27:43 christos Exp $");
+__RCSID("$NetBSD: compare.c,v 1.57 2013/10/17 17:22:59 christos Exp $");
#endif
#endif /* not lint */
@@ -48,6 +48,7 @@ __RCSID("$NetBSD: compare.c,v 1.56 2013/
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Index: src/usr.sbin/mtree/create.c
diff -u src/usr.sbin/mtree/create.c:1.71 src/usr.sbin/mtree/create.c:1.72
--- src/usr.sbin/mtree/create.c:1.71 Wed Oct 16 13:24:20 2013
+++ src/usr.sbin/mtree/create.c Thu Oct 17 13:22:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: create.c,v 1.71 2013/10/16 17:24:20 christos Exp $ */
+/* $NetBSD: create.c,v 1.72 2013/10/17 17:22:59 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: create.c,v 1.71 2013/10/16 17:24:20 christos Exp $");
+__RCSID("$NetBSD: create.c,v 1.72 2013/10/17 17:22:59 christos Exp $");
#endif
#endif /* not lint */
@@ -55,6 +55,7 @@ __RCSID("$NetBSD: create.c,v 1.71 2013/1
#include <pwd.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Index: src/usr.sbin/mtree/spec.c
diff -u src/usr.sbin/mtree/spec.c:1.87 src/usr.sbin/mtree/spec.c:1.88
--- src/usr.sbin/mtree/spec.c:1.87 Wed Oct 16 13:26:14 2013
+++ src/usr.sbin/mtree/spec.c Thu Oct 17 13:22:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: spec.c,v 1.87 2013/10/16 17:26:14 christos Exp $ */
+/* $NetBSD: spec.c,v 1.88 2013/10/17 17:22:59 christos Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)spec.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: spec.c,v 1.87 2013/10/16 17:26:14 christos Exp $");
+__RCSID("$NetBSD: spec.c,v 1.88 2013/10/17 17:22:59 christos Exp $");
#endif
#endif /* not lint */
@@ -81,6 +81,7 @@ __RCSID("$NetBSD: spec.c,v 1.87 2013/10/
#include <pwd.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>