Module Name:    src
Committed By:   christos
Date:           Tue Jan 10 23:08:13 UTC 2017

Modified Files:
        src/sys/sys: fcntl.h

Log Message:
Don't include <sys/stat.h>; it is optional even in X/Open.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/sys/fcntl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/fcntl.h
diff -u src/sys/sys/fcntl.h:1.47 src/sys/sys/fcntl.h:1.48
--- src/sys/sys/fcntl.h:1.47	Thu Jun 30 11:29:20 2016
+++ src/sys/sys/fcntl.h	Tue Jan 10 18:08:13 2017
@@ -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 */
 
 /*

Reply via email to