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>
Marius Storm-Olsen committed
Sep 16, 2009 at 10:20 UTC
627735f9bf322c5c964b396f4a55d14e18d34aa2
1 file changed
+5
compat/win32.h
+5
@@ -1,3 +1,6 @@
1
+#ifndef WIN32_H
2
+#define WIN32_H
3
+
4
/* common Win32 functions for MinGW and Cygwin */
5
#include <windows.h>
6
@@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd
35
return ENOENT;
36
}
37
}
38
+
39
+#endif