]> git.wh0rd.org - dump.git/commitdiff
Prevent bsdcompat.h to be included more than once.
authorStelian Pop <stelian@popies.net>
Fri, 10 Jun 2011 12:46:41 +0000 (12:46 +0000)
committerStelian Pop <stelian@popies.net>
Fri, 10 Jun 2011 12:46:41 +0000 (12:46 +0000)
compat/include/bsdcompat.h

index 7bc216038c96b34f9b0804e140a0cbe1699e4e72..d19687fd298836047c537c435032c05792db1e1c 100644 (file)
@@ -5,7 +5,7 @@
  *     Stelian Pop <stelian@popies.net>, 1999-2000
  *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  *
- *     $Id: bsdcompat.h,v 1.24 2005/05/02 15:10:45 stelian Exp $
+ *     $Id: bsdcompat.h,v 1.25 2011/06/10 12:46:41 stelian Exp $
  */
 
 #include <config.h>
@@ -13,6 +13,9 @@
 #include <dirent.h>
 #include <ext2fs/ext2fs.h>
 
+#ifndef _BSDCOMPAT_H
+#define _BSDCOMPAT_H 1
+
 #define        __dead          volatile
 #define UNUSED(x)      x __attribute__ ((unused))
 
@@ -292,3 +295,4 @@ struct new_bsd_inode {
 
 #define        di_ouid         di_u.oldids[0]
 #define        di_ogid         di_u.oldids[1]
+#endif /* _BSDCOMPAT_H */