diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-04-08 03:28:29 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-04-08 03:28:29 +0400 |
commit | 7ed7524c91a07756466cc235d476daf0c7100b72 (patch) | |
tree | ac2dba733bec9c9e47da957bb0f8abec838f67a0 /source/blender/freestyle/intern/python/BPy_SShape.h | |
parent | f85bcac8ae73f763bce29916a616b9b713d984b8 (diff) |
Got rid of a number of compiler warnings with regard to redefinitions
of _POSIX_C_SOURCE and _XOPEN_SOURCE. There are no functional changes.
Tested with GCC 4.4.1 on Ubuntu 9.10 (karmic).
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_SShape.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_SShape.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_SShape.h b/source/blender/freestyle/intern/python/BPy_SShape.h index 3bcb6a60603..e8d631f0538 100644 --- a/source/blender/freestyle/intern/python/BPy_SShape.h +++ b/source/blender/freestyle/intern/python/BPy_SShape.h @@ -1,6 +1,8 @@ #ifndef FREESTYLE_PYTHON_SSHAPE_H #define FREESTYLE_PYTHON_SSHAPE_H +#include <Python.h> + #include "../view_map/Silhouette.h" #ifdef __cplusplus @@ -9,8 +11,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include <Python.h> - extern PyTypeObject SShape_Type; #define BPy_SShape_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &SShape_Type) ) |