Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-10-10 20:11:57 +0400
committerThomas Dinges <blender@dingto.org>2013-10-10 20:11:57 +0400
commit223c637a9383d01db809a888b6f82c70231910af (patch)
tree864d1f1f2820ed6323a3923f4abe924f7d893f53 /intern
parentb880b01db5a6ff4dd7704c08bd2a7afc1654f8a1 (diff)
* Fix Windows compiler errors after recent Lock-free memory allocator commit.
Patch by Sergey, thanks. :)
Diffstat (limited to 'intern')
-rw-r--r--intern/guardedalloc/mmap_win.h2
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);