diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/main.c | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2003-04-08 Shawn Betts <sabetts@sfu.ca> + + * src/main.c (WAIT_ANY): define it if it isn't already define. + 2003-04-07 Shawn Betts <sabetts@sfu.ca> * src/input.c (read_key): remove the local variable, key_presses. @@ -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; |