]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Silly me, apparently FNDELAY *is* available if you include sys/file.h on Solaris.
authoreviltypeguy <eviltypeguy@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Jun 2005 03:44:39 +0000 (03:44 +0000)
committereviltypeguy <eviltypeguy@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Jun 2005 03:44:39 +0000 (03:44 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5384 d7cf8633-e32d-0410-b094-e92efae38249

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