]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
changed keydown[] from unsigned int holding key repeat count to qbyte holding status...
[xonotic/darkplaces.git] / common.h
index 599495c68848bc6572694f6ce7e6fbb0a7f38494..210b8af85bc92a4188bc7074223a2640121cc5f6 100644 (file)
--- a/common.h
+++ b/common.h
@@ -39,7 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #endif
 
 #ifdef SUNOS
-# define FNDELAY O_NDELAY      // FNDELAY's equivalent on SunOS is O_NDELAY
+#include <sys/file.h>          // Needed for FNDELAY
 # define model_t dp_model_t // Workaround conflict with /usr/include/sys/model.h
 #endif