From: Stelian Pop Date: Fri, 10 Jun 2011 12:46:41 +0000 (+0000) Subject: Prevent bsdcompat.h to be included more than once. X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=acf85e7a305b04b699e17104be519912a7ae90f0;p=dump.git Prevent bsdcompat.h to be included more than once. --- diff --git a/compat/include/bsdcompat.h b/compat/include/bsdcompat.h index 7bc2160..d19687f 100644 --- a/compat/include/bsdcompat.h +++ b/compat/include/bsdcompat.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 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 @@ -13,6 +13,9 @@ #include #include +#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 */