Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / blenlib / intern / storage.c
index cdc5cec..e6e37c5 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>    
 
+#ifdef WIN32
+#include "BLI_winstuff.h"
+#include <sys/types.h>
+#include <io.h>
+#include <direct.h>
+#endif
+
 #ifndef WIN32
 #include <dirent.h>
 #endif
@@ -63,6 +70,9 @@
 
 
 #include <fcntl.h>
+#if !defined(WIN32)
+#include <sys/mtio.h>                  /* tape comando's */
+#endif
 #include <string.h>                    /* strcpy etc.. */
 
 #ifndef WIN32
 #include <malloc.h>
 #endif
 
-#ifdef WIN32
-#include <sys/types.h>
-#include <io.h>
-#include <direct.h>
-#include "BLI_winstuff.h"
-#endif
-
-
 /* lib includes */
 #include "MEM_guardedalloc.h"