From: Jim Meyering Date: Sat, 16 Oct 1993 14:33:54 +0000 (+0000) Subject: GNU text utilities X-Git-Tag: TEXTUTILS-1_8c~1 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=58514a265eac0bffd00bf387d47d449fcc09c3f4;p=gnulib.git GNU text utilities --- diff --git a/lib/regex.c b/lib/regex.c index 15ca91bc5..8b7aecf0d 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -26,6 +26,17 @@ #define _GNU_SOURCE +#ifdef HAVE_CONFIG_H +#if 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 + /* We need this for `regex.h', and perhaps for the Emacs include files. */ #include diff --git a/lib/strtol.c b/lib/strtol.c index a88ec5eea..5e8a310c6 100644 --- a/lib/strtol.c +++ b/lib/strtol.c @@ -16,6 +16,17 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#if 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 + #include #include