[Bf-blender-cvs] [db03a2e296d] asset-browser: Fix compile error on Windows
Julian Eisel
noreply at git.blender.org
Wed Nov 25 19:28:01 CET 2020
Commit: db03a2e296d94807674c8b47d96f618f2baca955
Author: Julian Eisel
Date: Wed Nov 25 19:27:15 2020 +0100
Branches: asset-browser
https://developer.blender.org/rBdb03a2e296d94807674c8b47d96f618f2baca955
Fix compile error on Windows
`alloca.h` doesn't seem to be available there.
===================================================================
M source/blender/editors/space_file/file_draw.c
===================================================================
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index b9b6b9bb5e4..775de578944 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -21,11 +21,11 @@
* \ingroup spfile
*/
-#include <alloca.h>
#include <errno.h>
#include <math.h>
#include <string.h>
+#include "BLI_alloca.h"
#include "BLI_blenlib.h"
#include "BLI_fileops_types.h"
#include "BLI_math.h"
More information about the Bf-blender-cvs
mailing list