]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/compat.h
Fix config.h header protection
[netatalk.git] / 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