fixed #include <netdb.h> is not available on windows

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-04-22 20:03:47 +00:00
parent b2b32be32a
commit 890622f413

View File

@ -25,7 +25,11 @@
#include "util/rsnet.h" #include "util/rsnet.h"
#include <string.h> #include <string.h>
#ifdef WINDOWS_SYS
#else
#include <netdb.h> #include <netdb.h>
#endif
/* enforce LITTLE_ENDIAN on Windows */ /* enforce LITTLE_ENDIAN on Windows */
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS