diff --git a/src/main.c b/src/main.c index 5c402cc..77f6f2e 100644 --- a/src/main.c +++ b/src/main.c @@ -49,6 +49,7 @@ #include #elif defined(__FreeBSD__) || defined(__bsd__) || defined (__NetBSD__) #include + #include #elif defined(__sun__) #include #endif @@ -57,6 +58,14 @@ # include #endif +/* This should probably go into configure + * BSDs and Linux have SIGIO, Solaris needs SIGPOLL + * This should probably be changed the other way round + * SIGIO as default and SIGPOLL only for Solrais */ +#ifndef SIGPOLL +#define SIGPOLL SIGIO +#endif + #include "qcommon.h" #include "game.h" #include "rw.h"