diff options
Diffstat (limited to 'signame.c')
-rw-r--r-- | signame.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |