From 27356bb9917a401fc6af726b5d4e6f3c09a6fad6 Mon Sep 17 00:00:00 2001 From: esevece Date: Tue, 26 Nov 2013 20:56:03 +0000 Subject: [PATCH] Minimal fixes git-svn-id: svn://kolibrios.org@4298 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/menuetlibc/include/menuet/net.h | 2 +- .../develop/libraries/menuetlibc/src/libc/menuetos/network.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/develop/libraries/menuetlibc/include/menuet/net.h b/programs/develop/libraries/menuetlibc/include/menuet/net.h index 33c916224d..781d4c1f6c 100755 --- a/programs/develop/libraries/menuetlibc/include/menuet/net.h +++ b/programs/develop/libraries/menuetlibc/include/menuet/net.h @@ -43,7 +43,7 @@ extern "C" { #define PF_UNSPEC AF_UNSPEC #define PF_LOCAL AF_LOCAL -#define PF_INET4 AF_INET4 +#define PF_INET AF_INET #define PF_INET6 AF_INET6 // Flags for addrinfo diff --git a/programs/develop/libraries/menuetlibc/src/libc/menuetos/network.c b/programs/develop/libraries/menuetlibc/src/libc/menuetos/network.c index d9f0bd8b85..826aa910c5 100644 --- a/programs/develop/libraries/menuetlibc/src/libc/menuetos/network.c +++ b/programs/develop/libraries/menuetlibc/src/libc/menuetos/network.c @@ -1,4 +1,5 @@ #include +#include #define NULL 0 @@ -13,7 +14,6 @@ int kol_exit(){ __menuet__sys_exit(); } - int (* __stdcall network_init)(); void (* __stdcall freeaddrinfo)(struct addrinfo* ai); int (* __stdcall getaddrinfo)( const char* hostname, const char* servname, const struct addrinfo* hints, struct addrinfo **res);