Minimal fixes

git-svn-id: svn://kolibrios.org@4298 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
esevece 2013-11-26 20:56:03 +00:00
parent 9328c78a90
commit 27356bb991
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ extern "C" {
#define PF_UNSPEC AF_UNSPEC #define PF_UNSPEC AF_UNSPEC
#define PF_LOCAL AF_LOCAL #define PF_LOCAL AF_LOCAL
#define PF_INET4 AF_INET4 #define PF_INET AF_INET
#define PF_INET6 AF_INET6 #define PF_INET6 AF_INET6
// Flags for addrinfo // Flags for addrinfo

View File

@ -1,4 +1,5 @@
#include <menuet/os.h> #include <menuet/os.h>
#include <menuet/net.h>
#define NULL 0 #define NULL 0
@ -13,7 +14,6 @@ int kol_exit(){
__menuet__sys_exit(); __menuet__sys_exit();
} }
int (* __stdcall network_init)(); int (* __stdcall network_init)();
void (* __stdcall freeaddrinfo)(struct addrinfo* ai); void (* __stdcall freeaddrinfo)(struct addrinfo* ai);
int (* __stdcall getaddrinfo)( const char* hostname, const char* servname, const struct addrinfo* hints, struct addrinfo **res); int (* __stdcall getaddrinfo)( const char* hostname, const char* servname, const struct addrinfo* hints, struct addrinfo **res);