[Glibc-bsd-commits] r3256 - trunk/glibc-ports/kfreebsd/bits

Aurelien Jarno aurel32 at alioth.debian.org
Tue Feb 8 16:32:14 UTC 2011


Author: aurel32
Date: 2011-02-08 16:32:12 +0000 (Tue, 08 Feb 2011)
New Revision: 3256

Modified:
   trunk/glibc-ports/kfreebsd/bits/stat.h
Log:
Allow inclusion of <bits/stat.h> from <fcntl.h> similarly to what has been
done in upstream commit f095bb7204d80f609a73a22796edd6cffd4c6add


Modified: trunk/glibc-ports/kfreebsd/bits/stat.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/stat.h	2011-02-08 11:23:42 UTC (rev 3255)
+++ trunk/glibc-ports/kfreebsd/bits/stat.h	2011-02-08 16:32:12 UTC (rev 3256)
@@ -16,7 +16,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#ifndef _SYS_STAT_H
+#if !defined _SYS_STAT_H && !defined _FCNTL_H
 # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
 #endif
 




More information about the Glibc-bsd-commits mailing list