- bugfixes to build on debians multi-platform build system

This commit is contained in:
Mark Vejvoda
2011-12-23 04:38:42 +00:00
parent 2224d75d10
commit 496b847999
3 changed files with 146 additions and 7 deletions

View File

@@ -313,7 +313,7 @@ string Ip::getString() const{
// class Socket
// ===============================================
#if defined(__FreeBSD__) || defined(BSD) || defined(__APPLE__) || defined(__linux__)
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(BSD) || defined(__APPLE__) || defined(__linux__)
# define USE_GETIFADDRS 1
# include <ifaddrs.h>
#endif