Removed Xserver/ directory, it does nothing useful ATM.
[rdpsrv] / util.c
diff --git a/util.c b/util.c
index 24365bf..3c2e4bd 100644 (file)
--- a/util.c
+++ b/util.c
@@ -27,7 +27,6 @@
 #include <sys/time.h>           /* gettimeofday */
 #include <sys/times.h>          /* times */
 #include <errno.h>
-#include <X11/Xlib.h>           /* Window */
 #include "rdesktop.h"
 
 #ifdef EGD_SOCKET
@@ -164,6 +163,8 @@ error(char *format, ...)
        va_start(ap, format);
        vfprintf(stderr, format, ap);
        va_end(ap);
+
+       exit(1);
 }
 
 /* report a warning */