Wrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever...
authorDavid Levine <levinedl@acm.org>
Sun, 8 Jan 2012 16:34:31 +0000 (10:34 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 8 Jan 2012 16:34:31 +0000 (10:34 -0600)
h/nmh.h
h/signals.h

diff --git a/h/nmh.h b/h/nmh.h
index 00c408f..17e4273 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
@@ -3,7 +3,9 @@
  * nmh.h -- system configuration header file
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <unistd.h>
 #include <stdio.h>
index 4ad2b57..6858dff 100644 (file)
@@ -3,7 +3,9 @@
  * signals.h -- header file for nmh signal interface
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 /*
  * The type for a signal handler