X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxmalloc.c;h=58a81b5abbce4a2e253f1d7466f4c3d55a6e8a06;hb=b46745241a7da3a1ae16103c1aaa69971e14636e;hp=bce4325135e04ea46cb2d927747b2a8b11eaa9fa;hpb=4b2db36e1453ce2aac552eb4fbf49e284565ca2f;p=gnulib.git diff --git a/lib/xmalloc.c b/lib/xmalloc.c index bce432513..58a81b5ab 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -15,9 +15,16 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#if HAVE_CONFIG_H +#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 #if __STDC__ #define VOID void