summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorTom Lane2003-04-02 00:49:28 +0000
committerTom Lane2003-04-02 00:49:28 +0000
commit1da6eb7fdaa79a93972c290174bd7136672a894f (patch)
treef678004bfc882908975bfa8fbe7c831ba9935306 /src/template
parentf8a15f632dbdc0d24f8aa2d6a1164ed1b0f6b607 (diff)
Whack getaddrinfo() patch around until it works, more or less, on
machines without IPv6. Or at least it works on HPUX 10.20 ...
Diffstat (limited to 'src/template')
-rw-r--r--src/template/hpux6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/template/hpux b/src/template/hpux
index 4db8f44eba1..34a5e861442 100644
--- a/src/template/hpux
+++ b/src/template/hpux
@@ -1,6 +1,8 @@
if test "$GCC" = yes ; then
- CFLAGS=-O2
+ CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
+ CFLAGS="-O2"
else
CC="$CC -Ae"
- CFLAGS=+O2
+ CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
+ CFLAGS="+O2"
fi