summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-09-28 12:05:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-09-28 12:05:54 +0200
commit3358239a57573bc25850da4e2868df5efd05fb0d (patch)
tree6d7b80e56056a893d640058f726ae62e22982293
parent2660a465c3e595000e9a297cd6db8572114968a2 (diff)
downloadsamba-3358239a57573bc25850da4e2868df5efd05fb0d.tar.gz
samba-3358239a57573bc25850da4e2868df5efd05fb0d.tar.bz2
samba-3358239a57573bc25850da4e2868df5efd05fb0d.zip
smb_unix_ext.h: Protect against multiple inclusion.
-rw-r--r--libcli/smb/smb_unix_ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/smb/smb_unix_ext.h b/libcli/smb/smb_unix_ext.h
index 9516d310ad..ff705aa144 100644
--- a/libcli/smb/smb_unix_ext.h
+++ b/libcli/smb/smb_unix_ext.h
@@ -21,6 +21,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __SMB_UNIX_EXT_H__
+#define __SMB_UNIX_EXT_H__
+
/* UNIX CIFS Extensions - created by HP */
/*
* UNIX CIFS Extensions have the range 0x200 - 0x2FF reserved.
@@ -450,3 +453,4 @@ enum smb_whoami_flags {
#define SMB_POSIX_UNLINK_FILE_TARGET 0
#define SMB_POSIX_UNLINK_DIRECTORY_TARGET 1
+#endif /* __SMB_UNIX_EXT_H__ */