* Fix Windows compiler errors after recent Lock-free memory allocator commit.
authorThomas Dinges <blender@dingto.org>
Thu, 10 Oct 2013 16:11:57 +0000 (16:11 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 10 Oct 2013 16:11:57 +0000 (16:11 +0000)
Patch by Sergey, thanks. :)

intern/guardedalloc/mmap_win.h

index 0f88a8e3ba843c54ce423c1e47e7ff42327c4ad4..a1959fed9f90681a7364cbfd93ca78a864f06c34 100644 (file)
@@ -51,6 +51,8 @@
 /* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */
 #include "../../source/blender/blenlib/BLI_sys_types.h"
 
+#include <sys/types.h>
+
 void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset);
 intptr_t munmap(void *ptr, size_t size);