nativenet: fix interrogate error recognizing sockaddr types

This commit is contained in:
rdb 2018-07-31 11:08:14 +02:00
parent 079a7495f2
commit 4e42c4c941

View File

@ -12,7 +12,9 @@ const int BASIC_ERROR = -1;
// Interrogate doesn't need to parse any of this. // Interrogate doesn't need to parse any of this.
typedef unsigned long SOCKET; typedef unsigned long SOCKET;
typedef unsigned short sa_family_t;
#include <sys/socket.h>
#include <netinet/in.h>
/************************************************************************ /************************************************************************
* HP SOCKET LIBRARY STUFF * HP SOCKET LIBRARY STUFF