From e638fde6717b993ea123ef693c865ae0935a8cc5 Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Fri, 13 Jul 2012 15:08:48 +0200 Subject: [PATCH] Fix config.h header protection --- include/atalk/compat.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/atalk/compat.h b/include/atalk/compat.h index 1c217c4c..ac7ed558 100644 --- a/include/atalk/compat.h +++ b/include/atalk/compat.h @@ -6,10 +6,11 @@ * are checks for EINTR everywhere. */ -#include - +#ifdef HAVE_CONFIG_H #include "config.h" +#include + #if defined(ultrix) || defined(_IBMR2) || defined(NEED_GETUSERSHELL) extern char *getusershell (void); #endif @@ -58,3 +59,4 @@ extern size_t strlcpy (char *, const char *, size_t); extern size_t strlcat (char *, const char *, size_t); #endif +#endif -- 2.39.2