X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fconfig.h.in;h=cf2fd95e139fbb4cee4fff64da822670defb3ba2;hb=d45efb1e6cc9b913d12b7a0c51be3624488c3f96;hp=a3048e31325e006420e51a8508de0db996710fb3;hpb=0bedff1dadf7fdfd3811cd4352aa2570b5a54983;p=chise%2Fxemacs-chise.git- diff --git a/src/config.h.in b/src/config.h.in index a3048e3..cf2fd95 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -42,6 +42,8 @@ Boston, MA 02111-1307, USA. */ #elif defined __DECC #include #pragma intrinsic(alloca) +#elif defined __INTEL_COMPILER && defined HAVE_ALLOCA_H +/* defer #include to end of file */ #elif defined HAVE_ALLOCA_H #include #elif defined(_AIX) @@ -916,4 +918,12 @@ on various systems. */ #undef PDUMP +#ifndef NOT_C_CODE +#if defined __INTEL_COMPILER && defined HAVE_ALLOCA_H +/* icc's alloca.h pulls in , + but that must be done after _GNU_SOURCE and friends are defined */ +#include +#endif +#endif /* C code */ + #endif /* _SRC_CONFIG_H_ */