From: Marius Storm-Olsen Date: Wed, 16 Sep 2009 08:20:18 +0000 (+0200) Subject: Add include guards to compat/win32.h X-Git-Tag: v1.6.5-rc2~24 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=627735f9bf322c5c964b396f4a55d14e18d34aa2;p=git.git Add include guards to compat/win32.h Signed-off-by: Marius Storm-Olsen Acked-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/compat/win32.h b/compat/win32.h index c26384e59..e8c178d8c 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 @@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd return ENOENT; } } + +#endif