]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
Comply with ISO C11. Engine will now compile with -pedantic, w/o extra warnings
[xonotic/darkplaces.git] / common.h
index e816608fb4db3317cab228e636b9972b823feaf2..64dba29015cd067415d6d9cc43d0551bb97a4453 100644 (file)
--- a/common.h
+++ b/common.h
@@ -26,6 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifdef WIN32
 # define strcasecmp _stricmp
 # define strncasecmp _strnicmp
+#else
+#include "strings.h"
 #endif
 
 // Create our own define for Mac OS X
@@ -34,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #endif
 
 #ifdef SUNOS
-#include <sys/file.h>          ///< Needed for FNDELAY
+#include <sys/file.h>          ///< Needed for O_NDELAY
 #endif
 
 //============================================================================