From 7ed7524c91a07756466cc235d476daf0c7100b72 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Wed, 7 Apr 2010 23:28:29 +0000 Subject: 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). --- source/blender/freestyle/intern/python/BPy_FrsNoise.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle/intern/python/BPy_FrsNoise.h') diff --git a/source/blender/freestyle/intern/python/BPy_FrsNoise.h b/source/blender/freestyle/intern/python/BPy_FrsNoise.h index 9b06ea0c37d..00b4f3375bc 100644 --- a/source/blender/freestyle/intern/python/BPy_FrsNoise.h +++ b/source/blender/freestyle/intern/python/BPy_FrsNoise.h @@ -1,6 +1,8 @@ #ifndef FREESTYLE_PYTHON_FRSNOISE_H #define FREESTYLE_PYTHON_FRSNOISE_H +#include + #include "../geometry/Noise.h" #ifdef __cplusplus @@ -9,8 +11,6 @@ extern "C" { /////////////////////////////////////////////////////////////////////////////////////////// -#include - extern PyTypeObject FrsNoise_Type; #define BPy_FrsNoise_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FrsNoise_Type) ) -- cgit v1.2.3