diff --git a/userspace/libraries/LibC/netdb.cpp b/userspace/libraries/LibC/netdb.cpp index 7b0a9171..daa5228c 100644 --- a/userspace/libraries/LibC/netdb.cpp +++ b/userspace/libraries/LibC/netdb.cpp @@ -9,6 +9,8 @@ #include #include +int h_errno = 0; + struct hostent* gethostbyname(const char* name) { static char name_buffer[HOST_NAME_MAX + 1];