X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetopt1.c;h=f784b5757c59e1cd26d45fc5ddb0273a7f50b0f4;hb=6a75c0b2de353ea0aaa7741d8624aec4fdefcdfd;hp=2b93f783527411df36900c1f6f123b93bb02a48d;hpb=e14f6869cc0b4aa87c80272b859a895965464527;p=gnulib.git diff --git a/lib/getopt1.c b/lib/getopt1.c index 2b93f7835..f784b5757 100644 --- a/lib/getopt1.c +++ b/lib/getopt1.c @@ -17,10 +17,14 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #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 getopt1.c was found in $srcdir). */ + (which it would do because it found this file in $srcdir). */ #include +#else +#include "config.h" +#endif #endif #include "getopt.h"