]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added include unistd.h and fcntl.h on non-win32
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Oct 2001 23:43:58 +0000 (23:43 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Oct 2001 23:43:58 +0000 (23:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@982 d7cf8633-e32d-0410-b094-e92efae38249

sys_shared.c

index 52a28285a16dc86924b02d8a5468bf9c4e9f5534..85ad4648e8882bbef6ef032a0e4a68219b63e99b 100644 (file)
@@ -1,6 +1,10 @@
 
 #include "quakedef.h"
 #include <time.h>
+#ifndef WIN32
+#include <unistd.h>
+#include <fcntl.h>
+#endif
 
 extern cvar_t  timestamps;
 extern cvar_t  timeformat;