Changeset - r1687:397187114acd
[Not reviewed]
master
0 2 0
truelight - 19 years ago 2005-04-13 18:36:29
truelight@openttd.org
(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
network_core.h
Show inline comments
 
@@ -55,13 +55,13 @@ typedef struct ifreq IFREQ;
 
#		include <netinet/in.h>
 
#		include <netinet/tcp.h>
 
#		include <arpa/inet.h>
 
#		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.
 
#			include <ifaddrs.h>
 
#			define HAVE_GETIFADDRS
 
#		endif
unix.c
Show inline comments
 
@@ -9,13 +9,13 @@
 
#include <unistd.h>
 
#include <sys/stat.h>
 
#include <time.h>
 
#include <pwd.h>
 
#include <signal.h>
 

	
 
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__linux__)
 
#if ((defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__linux__)) && !defined(__dietlibc__)
 
	#define HAS_STATVFS
 
#endif
 

	
 
#ifdef HAS_STATVFS
 
#include <sys/statvfs.h>
 
#endif
0 comments (0 inline, 0 general)