summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorMarius Storm-Olsen <mstormo@gmail.com>2009-09-16 08:20:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-09-19 03:00:42 (GMT)
commit627735f9bf322c5c964b396f4a55d14e18d34aa2 (patch)
tree71d021832e01452c14b51eb2294b267ebfb27bec /compat
parent0d30ad71fa094dd89ae31b3381c2e63a41119c76 (diff)
downloadgit-627735f9bf322c5c964b396f4a55d14e18d34aa2.zip
git-627735f9bf322c5c964b396f4a55d14e18d34aa2.tar.gz
git-627735f9bf322c5c964b396f4a55d14e18d34aa2.tar.bz2
Add include guards to compat/win32.h
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat/win32.h b/compat/win32.h
index c26384e..e8c178d 100644
--- a/compat/win32.h
+++ b/compat/win32.h
@@ -1,3 +1,6 @@
+#ifndef WIN32_H
+#define WIN32_H
+
/* common Win32 functions for MinGW and Cygwin */
#include <windows.h>
@@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd
return ENOENT;
}
}
+
+#endif