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/application | |
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/application')
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/application/AppCanvas.cpp b/source/blender/freestyle/intern/application/AppCanvas.cpp index 986830292c9..3844cf2195a 100755 --- a/source/blender/freestyle/intern/application/AppCanvas.cpp +++ b/source/blender/freestyle/intern/application/AppCanvas.cpp @@ -19,12 +19,11 @@ // /////////////////////////////////////////////////////////////////////////////// +#include "Controller.h" #include "../rendering/GLBlendEquation.h" - #include "AppView.h" #include "../image/Image.h" #include "../system/TimeStamp.h" -#include "Controller.h" #include "../stroke/StrokeRenderer.h" #include "AppCanvas.h" #include "../rendering/GLRenderer.h" diff --git a/source/blender/freestyle/intern/application/AppView.cpp b/source/blender/freestyle/intern/application/AppView.cpp index 886fa31bc93..e523a89b445 100644 --- a/source/blender/freestyle/intern/application/AppView.cpp +++ b/source/blender/freestyle/intern/application/AppView.cpp @@ -19,6 +19,8 @@ // /////////////////////////////////////////////////////////////////////////////// +#include "Controller.h" + extern "C" { #include "BLI_jitter.h" } @@ -27,7 +29,6 @@ extern "C" { #include "../stroke/Canvas.h" #include "AppView.h" #include "../scene_graph/NodeLight.h" -#include "Controller.h" #include "../view_map/Silhouette.h" #include "../view_map/ViewMap.h" #include "../scene_graph/LineRep.h" diff --git a/source/blender/freestyle/intern/application/Controller.h b/source/blender/freestyle/intern/application/Controller.h index deeabb6da0a..422707d3c1f 100755 --- a/source/blender/freestyle/intern/application/Controller.h +++ b/source/blender/freestyle/intern/application/Controller.h @@ -30,11 +30,11 @@ #ifndef CONTROLLER_H # define CONTROLLER_H +# include "../view_map/ViewMapBuilder.h" # include <string> //# include "ConfigIO.h" # include "../geometry/FastGrid.h" # include "../geometry/HashGrid.h" -# include "../view_map/ViewMapBuilder.h" # include "../system/TimeUtils.h" # include "../system/ProgressBar.h" # include "../system/Precision.h" |