From 0ac8c8df85951a6c4815f5e8e0491b6bba4534b7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 27 Jan 2011 16:27:27 -0500 Subject: [PATCH] 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. --- src/backend/tcop/postgres.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index b227e6ce4f..535926a937 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3003,7 +3003,9 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) +#ifdef __INTEL_COMPILER #include +#endif static __inline__ char * ia64_get_bsp(void) -- 2.40.0