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_Id.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_Id.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Id.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Id.h b/source/blender/freestyle/intern/python/BPy_Id.h index 3063334f075..10f370f8a80 100644 --- a/source/blender/freestyle/intern/python/BPy_Id.h +++ b/source/blender/freestyle/intern/python/BPy_Id.h @@ -1,6 +1,7 @@ #ifndef FREESTYLE_PYTHON_ID_H #define FREESTYLE_PYTHON_ID_H +#include <Python.h> #include <iostream> using namespace std; @@ -12,8 +13,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include <Python.h> - extern PyTypeObject Id_Type; #define BPy_Id_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Id_Type) ) |