summaryrefslogtreecommitdiff
path: root/tools/vmmouse_detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vmmouse_detect.c')
-rw-r--r--tools/vmmouse_detect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/vmmouse_detect.c b/tools/vmmouse_detect.c
index 0dd4827..ac238b4 100644
--- a/tools/vmmouse_detect.c
+++ b/tools/vmmouse_detect.c
@@ -30,10 +30,16 @@
#include <signal.h>
#include "vmmouse_client.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
void
segvCB(int sig)
{
+#if defined HAVE_XORG_SERVER_1_1_0
exit(1);
+#endif
}