diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 14:43:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 14:43:42 +0400 |
commit | b26de72970299484aecd1d7773e9b13fb21a1d63 (patch) | |
tree | 86071b956aaea454e1ffe60b96cc42d3efd15d5c /source/blender/blenlib/BLI_storage.h | |
parent | aaf328dc78d69e80d7755b4e64fed136e10079d2 (diff) |
fix for some win32 setups not having size_t defined.
Reported by MiikaH on IRC.
Diffstat (limited to 'source/blender/blenlib/BLI_storage.h')
-rw-r--r-- | source/blender/blenlib/BLI_storage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_storage.h b/source/blender/blenlib/BLI_storage.h index 83537e4f3c4..ec4e999b508 100644 --- a/source/blender/blenlib/BLI_storage.h +++ b/source/blender/blenlib/BLI_storage.h @@ -40,6 +40,11 @@ #endif #endif +#ifdef WIN32 +/* for size_t, only needed on win32 for some reason */ +#include <sys/types.h> +#endif + struct direntry; |