--- a/mcabber/src/main.c Mon Apr 10 23:16:12 2006 +0200 +++ b/mcabber/src/main.c Mon Apr 10 23:21:47 2006 +0200 @@ -45,6 +45,9 @@ # include "hgcset.h" #endif +#ifndef WAIT_ANY +# define WAIT_ANY -1 +#endif static struct termios *backup_termios;