From 627735f9bf322c5c964b396f4a55d14e18d34aa2 Mon Sep 17 00:00:00 2001 From: Marius Storm-Olsen Date: Wed, 16 Sep 2009 10:20:18 +0200 Subject: [PATCH] Add include guards to compat/win32.h Signed-off-by: Marius Storm-Olsen Acked-by: Johannes Sixt Signed-off-by: Junio C Hamano --- compat/win32.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2