diff options
author | Thomas Dinges <blender@dingto.org> | 2013-10-10 20:11:57 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-10-10 20:11:57 +0400 |
commit | 223c637a9383d01db809a888b6f82c70231910af (patch) | |
tree | 864d1f1f2820ed6323a3923f4abe924f7d893f53 /intern/guardedalloc/mmap_win.h | |
parent | b880b01db5a6ff4dd7704c08bd2a7afc1654f8a1 (diff) |
* Fix Windows compiler errors after recent Lock-free memory allocator commit.
Patch by Sergey, thanks. :)
Diffstat (limited to 'intern/guardedalloc/mmap_win.h')
-rw-r--r-- | intern/guardedalloc/mmap_win.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/guardedalloc/mmap_win.h b/intern/guardedalloc/mmap_win.h index 0f88a8e3ba8..a1959fed9f9 100644 --- a/intern/guardedalloc/mmap_win.h +++ b/intern/guardedalloc/mmap_win.h @@ -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); |