diff --git a/signame.c b/signame.c index 4f97420a..3519ebe8 100644 --- a/signame.c +++ b/signame.c @@ -19,9 +19,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include /* Some systems need this for . */ #include -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H +#if defined (emacs) || defined (CONFIG_BROKETS) +/* We use 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 +#else #include "config.h" #endif +#endif /* Some systems do not define NSIG in . */ #ifndef NSIG