13 lines
286 B
Diff
13 lines
286 B
Diff
diff --git a/xhost.c b/xhost.c
|
|
index a67d136..c5d25f4 100644
|
|
--- a/xhost.c
|
|
+++ b/xhost.c
|
|
@@ -77,6 +77,7 @@ X Window System is a trademark of The Open Group.
|
|
#include <X11/Xauth.h>
|
|
#include <X11/Xmu/Error.h>
|
|
#include <stdlib.h>
|
|
+#include <netdb.h>
|
|
|
|
#ifdef NEEDSOCKETS
|
|
#ifdef WIN32
|