summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-04-13 18:36:29 +0000
committertruelight <truelight@openttd.org>2005-04-13 18:36:29 +0000
commitf36354a70f51337c0aae11c97ef9ae90fd477f63 (patch)
tree1feedf8b6ef700e1b7b5e2cc1f04ce196e4206b5 /network_core.h
parent5960857d9d7c6d3ed2f25ed0ee4748d22c295ee5 (diff)
downloadopenttd-f36354a70f51337c0aae11c97ef9ae90fd477f63.tar.xz
(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)
Diffstat (limited to 'network_core.h')
-rw-r--r--network_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_core.h b/network_core.h
index 0ab9942c8..e442391fd 100644
--- a/network_core.h
+++ b/network_core.h
@@ -58,7 +58,7 @@ typedef struct ifreq IFREQ;
# include <net/if.h>
// According to glibc/NEWS, <ifaddrs.h> appeared in glibc-2.3.
# if !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) \
- && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2))
+ && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__)
// 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.