Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin need <sys/stat.h>



details:   https://anonhg.NetBSD.org/src/rev/23cdea673492
branches:  trunk
changeset: 350371:23cdea673492
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:57:26 2017 +0000

description:
need <sys/stat.h>

diffstat:

 usr.sbin/crash/crash.c   |  5 +++--
 usr.sbin/ldpd/conffile.c |  7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 8ff19f237bc0 -r 23cdea673492 usr.sbin/crash/crash.c
--- a/usr.sbin/crash/crash.c    Tue Jan 10 20:56:41 2017 +0000
+++ b/usr.sbin/crash/crash.c    Tue Jan 10 20:57:26 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crash.c,v 1.10 2015/06/16 23:48:20 christos Exp $      */
+/*     $NetBSD: crash.c,v 1.11 2017/01/10 20:57:26 christos Exp $      */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -31,13 +31,14 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: crash.c,v 1.10 2015/06/16 23:48:20 christos Exp $");
+__RCSID("$NetBSD: crash.c,v 1.11 2017/01/10 20:57:26 christos Exp $");
 #endif /* not lint */
 
 #include <ddb/ddb.h>
 
 #include <sys/fcntl.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
 #include <sys/ioctl.h>
 
 #include <machine/frame.h>
diff -r 8ff19f237bc0 -r 23cdea673492 usr.sbin/ldpd/conffile.c
--- a/usr.sbin/ldpd/conffile.c  Tue Jan 10 20:56:41 2017 +0000
+++ b/usr.sbin/ldpd/conffile.c  Tue Jan 10 20:57:26 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conffile.c,v 1.11 2013/11/19 16:42:16 christos Exp $ */
+/* $NetBSD: conffile.c,v 1.12 2017/01/10 21:02:38 christos Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,9 +29,12 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/mman.h>
+#include <sys/stat.h>
+
 #include <arpa/inet.h>
 #include <netinet/in.h>
-#include <sys/mman.h>
+
 #include <ctype.h>
 #include <fcntl.h>
 #include <stdlib.h>



Home | Main Index | Thread Index | Old Index