diff --git a/src/regex.c b/src/regex.c index 22777ca2be6..a5594be55ed 100644 --- a/src/regex.c +++ b/src/regex.c @@ -29,7 +29,7 @@ /* We need this for `regex.h', and perhaps for the Emacs include files. */ #include -#ifdef HAVE_CONFIG_H +#if defined (HAVE_CONFIG_H) || defined (emacs) #include "config.h" #endif