diff options
Diffstat (limited to 'apps/xhost/xhost.c')
-rwxr-xr-x[-rw-r--r--] | apps/xhost/xhost.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/apps/xhost/xhost.c b/apps/xhost/xhost.c index a67d1361f..a6baa9dbf 100644..100755 --- a/apps/xhost/xhost.c +++ b/apps/xhost/xhost.c @@ -130,6 +130,16 @@ static volatile int nameserver_timedout; static char *ProgramName; +#ifdef WIN32 +#define alarm(arg) + +void sethostent(int x) +{} + +void endhostent() +{} +#endif + #ifdef NEEDSOCKETS static int XFamily(int af) @@ -842,12 +852,3 @@ local_xerror(Display *dpy, XErrorEvent *rep) XmuPrintDefaultErrorMessage (dpy, rep, stderr); return 0; } - -#if defined(__CYGWIN__) || defined(WIN32) -void sethostent(int x) -{} - -void endhostent() -{} -#endif - |