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/freestyle/intern/python/BPy_ContextFunctions.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_ContextFunctions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_ContextFunctions.h b/source/blender/freestyle/intern/python/BPy_ContextFunctions.h
index 16e63be02f4..40652777c44 100644
--- a/source/blender/freestyle/intern/python/BPy_ContextFunctions.h
+++ b/source/blender/freestyle/intern/python/BPy_ContextFunctions.h
@@ -25,7 +25,9 @@
#ifndef __FREESTYLE_PYTHON_CONTEXTFUNCTIONS_H__
#define __FREESTYLE_PYTHON_CONTEXTFUNCTIONS_H__
+extern "C" {
#include <Python.h>
+}
#ifdef __cplusplus
extern "C" {