summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2e65b46..3374ece 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,6 +37,12 @@
#include "ratpoison.h"
+/* Several systems seem not to have WAIT_ANY defined, so define it if
+ it isn't. */
+#ifndef WAIT_ANY
+# define WAIT_ANY -1
+#endif
+
static void init_screen (screen_info *s, int screen_num);
int alarm_signalled = 0;