[Bf-blender-cvs] [fd8d6d9] alembic_basic_io: Fix compile error on Windows.
Kévin Dietrich
noreply at git.blender.org
Sat Jun 11 18:00:08 CEST 2016
Commit: fd8d6d9d0efecfba46240a9f8186f13ff7f2d285
Author: Kévin Dietrich
Date: Sat Jun 11 17:58:14 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBfd8d6d9d0efecfba46240a9f8186f13ff7f2d285
Fix compile error on Windows.
===================================================================
M source/blender/editors/io/io_alembic.c
===================================================================
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index e3ba05f..41c299d 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -24,7 +24,12 @@
#ifdef WITH_ALEMBIC
-#include <dirent.h>
+/* needed for directory lookup */
+#ifndef WIN32
+# include <dirent.h>
+#else
+# include "BLI_winstuff.h"
+#endif
#include "MEM_guardedalloc.h"
More information about the Bf-blender-cvs
mailing list