Fix compilation under some OSX systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b37f9865d4
commit
d01a45c35e
@ -30,7 +30,8 @@
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAS_SOCKLEN_T
|
||||
// _SOCKLEN_T is used on OSX
|
||||
#if !defined(HAS_SOCKLEN_T) && !defined(_SOCKLEN_T)
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user