summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-30 07:39:46 +0000
committerrubidium <rubidium@openttd.org>2008-04-30 07:39:46 +0000
commit4097d81323214a711f48b1ce93e744bfed3b53e4 (patch)
treefd05b40c24c7c6acb690ad39463bacc2d587724d /src/network/core
parentc76b2be6447a68fac37d4cfd694eb8ecc3f8a047 (diff)
downloadopenttd-4097d81323214a711f48b1ce93e744bfed3b53e4.tar.xz
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/os_abstraction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index c1f7b028a..914c152fe 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -62,7 +62,7 @@ typedef unsigned long in_addr_t;
# include <net/if.h>
/* According to glibc/NEWS, <ifaddrs.h> appeared in glibc-2.3. */
# if !defined(__sgi__) && !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) && !defined(__INNOTEK_LIBC__) \
- && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__)
+ && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__) && !defined(HPUX)
/* If for any reason ifaddrs.h does not exist on your system, comment out
* the following two lines and an alternative way will be used to fetch
* the list of IPs from the system. */