Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Don't include <sys/stat.h>; it is optional even in X...
details: https://anonhg.NetBSD.org/src/rev/8e1e4df87a05
branches: trunk
changeset: 350389:8e1e4df87a05
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 23:08:13 2017 +0000
description:
Don't include <sys/stat.h>; it is optional even in X/Open.
diffstat:
sys/sys/fcntl.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 15341edc1984 -r 8e1e4df87a05 sys/sys/fcntl.h
--- a/sys/sys/fcntl.h Tue Jan 10 23:06:06 2017 +0000
+++ b/sys/sys/fcntl.h Tue Jan 10 23:08:13 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fcntl.h,v 1.47 2016/06/30 15:29:20 dholland Exp $ */
+/* $NetBSD: fcntl.h,v 1.48 2017/01/10 23:08:13 christos Exp $ */
/*-
* Copyright (c) 1983, 1990, 1993
@@ -48,9 +48,9 @@
#ifndef _KERNEL
#include <sys/featuretest.h>
#include <sys/types.h>
-#if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)
+#if defined(_XOPEN_SOURCE)
#include <sys/stat.h>
-#endif /* _XOPEN_SOURCE || _NETBSD_SOURCE */
+#endif /* _XOPEN_SOURCE */
#endif /* !_KERNEL */
/*
Home |
Main Index |
Thread Index |
Old Index