From: Tom Lane Date: Thu, 27 Jan 2011 21:27:27 +0000 (-0500) Subject: Don't include unnecessarily. X-Git-Tag: REL8_4_7~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bbb60225a8127681718f399af9b8d90170c435f;p=postgresql Don't include unnecessarily. We only need that header when compiling with icc, since the gcc variant of ia64_get_bsp() uses in-line assembly code. Per report from Frank Brendel, the header doesn't exist on all IA64 platforms; so don't include it unless we need it. --- diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index cf591ed5e3..bd8287e68d 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2690,7 +2690,9 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) +#ifdef __INTEL_COMPILER #include +#endif static __inline__ char * ia64_get_bsp(void)