]> arthur.barton.de Git - netatalk.git/commitdiff
Fix config.h header protection
authorFrank Lahm <franklahm@googlemail.com>
Fri, 13 Jul 2012 13:08:48 +0000 (15:08 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 13 Jul 2012 13:08:48 +0000 (15:08 +0200)
include/atalk/compat.h

index 1c217c4ca752d4e34fc5a552c06ff16e9c2514ba..ac7ed55808d9528b163551c20794810faf6e82aa 100644 (file)
@@ -6,10 +6,11 @@
  * are checks for EINTR everywhere. 
  */
 
-#include <signal.h>
-
+#ifdef HAVE_CONFIG_H
 #include "config.h"
 
+#include <signal.h>
+
 #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