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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/BPY_extern_python.h')
-rw-r--r--source/blender/python/BPY_extern_python.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/BPY_extern_python.h b/source/blender/python/BPY_extern_python.h
index d6033f86d37..348f6986863 100644
--- a/source/blender/python/BPY_extern_python.h
+++ b/source/blender/python/BPY_extern_python.h
@@ -28,12 +28,15 @@ struct bContext;
extern "C" {
#endif
+/* For 'FILE'. */
+#include <stdio.h>
+
/* bpy_interface.c */
void BPY_python_start(int argc, const char **argv);
void BPY_python_end(void);
void BPY_python_reset(struct bContext *C);
void BPY_python_use_system_env(void);
-void BPY_python_backtrace(/* FILE */ void *file);
+void BPY_python_backtrace(FILE *file);
#ifdef __cplusplus
} /* extern "C" */