LibC: Add definition for h_errno
Nothing uses this yet, but linking will succeed
This commit is contained in:
parent
615d9d4abe
commit
a749b9806e
|
@ -9,6 +9,8 @@
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int h_errno = 0;
|
||||||
|
|
||||||
struct hostent* gethostbyname(const char* name)
|
struct hostent* gethostbyname(const char* name)
|
||||||
{
|
{
|
||||||
static char name_buffer[HOST_NAME_MAX + 1];
|
static char name_buffer[HOST_NAME_MAX + 1];
|
||||||
|
|
Loading…
Reference in New Issue