summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/signame.c b/signame.c
index 4f97420..3519ebe 100644
--- a/signame.c
+++ b/signame.c
@@ -19,9 +19,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h> /* Some systems need this for <signal.h>. */
#include <signal.h>
-#ifdef HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
+#if defined (emacs) || defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+ using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
+ (which it would do because it found this file in $srcdir). */
+#include <config.h>
+#else
#include "config.h"
#endif
+#endif
/* Some systems do not define NSIG in <signal.h>. */
#ifndef NSIG