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

Aurelien Jarno aurel32 at alioth.debian.org
Tue Feb 8 08:49:16 UTC 2011


Author: aurel32
Date: 2011-02-08 08:49:14 +0000 (Tue, 08 Feb 2011)
New Revision: 3254

Modified:
   trunk/glibc-ports/kfreebsd/bits/stat.h
Log:
Fix double-inclusion problem of bits/stat.h similarly to what has been done
upstream in commit 64c1f3af5d6176dd32285d2e02dc93713466f82f


Modified: trunk/glibc-ports/kfreebsd/bits/stat.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/stat.h	2011-02-08 08:43:10 UTC (rev 3253)
+++ trunk/glibc-ports/kfreebsd/bits/stat.h	2011-02-08 08:49:14 UTC (rev 3254)
@@ -20,6 +20,9 @@
 # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
 #endif
 
+#ifndef _BITS_STAT_H
+#define _BITS_STAT_H   1
+
 /* This structure needs to be defined in accordance with the
    implementation of __stat, __fstat, and __lstat.  */
 
@@ -212,3 +215,5 @@
 __END_DECLS
 
 #endif /* __USE_BSD */
+
+#endif /* bits/stat.h */




More information about the Glibc-bsd-commits mailing list