Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/6072c0d6d6f3
branches:  trunk
changeset: 820518:6072c0d6d6f3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 21:08:48 2017 +0000

description:
need <sys/stat.h>

diffstat:

 libexec/ld.elf_so/load.c          |  14 ++++++++------
 usr.bin/ldd/ldd_elfxx.c           |   5 +++--
 usr.bin/rfcomm_sppd/rfcomm_sppd.c |   5 +++--
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (82 lines):

diff -r 36c19db2eced -r 6072c0d6d6f3 libexec/ld.elf_so/load.c
--- a/libexec/ld.elf_so/load.c  Tue Jan 10 21:08:15 2017 +0000
+++ b/libexec/ld.elf_so/load.c  Tue Jan 10 21:08:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: load.c,v 1.47 2013/11/27 18:01:33 christos Exp $        */
+/*     $NetBSD: load.c,v 1.48 2017/01/10 21:08:48 christos Exp $        */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,9 +40,15 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: load.c,v 1.47 2013/11/27 18:01:33 christos Exp $");
+__RCSID("$NetBSD: load.c,v 1.48 2017/01/10 21:08:48 christos Exp $");
 #endif /* not lint */
 
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/mman.h>
+#include <sys/sysctl.h>
+#include <sys/stat.h>
+
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -51,10 +57,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/mman.h>
-#include <sys/sysctl.h>
 #include <dirent.h>
 
 #include "debug.h"
diff -r 36c19db2eced -r 6072c0d6d6f3 usr.bin/ldd/ldd_elfxx.c
--- a/usr.bin/ldd/ldd_elfxx.c   Tue Jan 10 21:08:15 2017 +0000
+++ b/usr.bin/ldd/ldd_elfxx.c   Tue Jan 10 21:08:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldd_elfxx.c,v 1.6 2012/07/08 00:53:44 matt Exp $       */
+/*     $NetBSD: ldd_elfxx.c,v 1.7 2017/01/10 21:11:25 christos Exp $   */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -62,12 +62,13 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ldd_elfxx.c,v 1.6 2012/07/08 00:53:44 matt Exp $");
+__RCSID("$NetBSD: ldd_elfxx.c,v 1.7 2017/01/10 21:11:25 christos Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 
 #include <dirent.h>
 #include <err.h>
diff -r 36c19db2eced -r 6072c0d6d6f3 usr.bin/rfcomm_sppd/rfcomm_sppd.c
--- a/usr.bin/rfcomm_sppd/rfcomm_sppd.c Tue Jan 10 21:08:15 2017 +0000
+++ b/usr.bin/rfcomm_sppd/rfcomm_sppd.c Tue Jan 10 21:08:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rfcomm_sppd.c,v 1.16 2013/12/09 09:35:17 wiz Exp $     */
+/*     $NetBSD: rfcomm_sppd.c,v 1.17 2017/01/10 21:12:03 christos Exp $        */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -62,9 +62,10 @@
   Copyright (c) 2006 Itronix, Inc.\
   Copyright (c) 2003 Maksim Yevmenkin m_evmenkin%yahoo.com@localhost.\
   All rights reserved.");
-__RCSID("$NetBSD: rfcomm_sppd.c,v 1.16 2013/12/09 09:35:17 wiz Exp $");
+__RCSID("$NetBSD: rfcomm_sppd.c,v 1.17 2017/01/10 21:12:03 christos Exp $");
 
 #include <sys/param.h>
+#include <sys/stat.h>
 
 #include <bluetooth.h>
 #include <ctype.h>



Home | Main Index | Thread Index | Old Index