[Glibc-bsd-commits] r4868 - in trunk/freebsd-glue: debian include/sys

Robert Millan rmh at alioth.debian.org
Sun Aug 4 21:49:45 UTC 2013


Author: rmh
Date: 2013-08-04 21:49:45 +0000 (Sun, 04 Aug 2013)
New Revision: 4868

Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/include/sys/stat.h
Log:
<sys/stat.h> implicitly includes <sys/time.h>.

Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2013-08-04 20:55:17 UTC (rev 4867)
+++ trunk/freebsd-glue/debian/changelog	2013-08-04 21:49:45 UTC (rev 4868)
@@ -4,6 +4,7 @@
     they intentionally duplicate).
   * FreeBSD <stdio.h> and <sys/types.h> have a kludge to declare
     lseek(). Duplicate the Glibc declaration here.
+  * <sys/stat.h> implicitly includes <sys/time.h>.
 
  -- Robert Millan <rmh at debian.org>  Sun, 04 Aug 2013 18:20:40 +0200
 

Modified: trunk/freebsd-glue/include/sys/stat.h
===================================================================
--- trunk/freebsd-glue/include/sys/stat.h	2013-08-04 20:55:17 UTC (rev 4867)
+++ trunk/freebsd-glue/include/sys/stat.h	2013-08-04 21:49:45 UTC (rev 4868)
@@ -1,7 +1,12 @@
+#include_next <sys/stat.h>
+
 #ifndef _SYS_STAT_H_
 #define	_SYS_STAT_H_
-#include_next <sys/stat.h>
+
+#include <sys/time.h>
+
 #ifndef S_ISTXT
 #define S_ISTXT S_ISVTX
 #endif
-#endif
+
+#endif /* _SYS_STAT_H_ */




More information about the Glibc-bsd-commits mailing list