diff --git a/simgear/bvh/BVHMaterial.cxx b/simgear/bvh/BVHMaterial.cxx index c04af86d..5a9eb7a5 100644 --- a/simgear/bvh/BVHMaterial.cxx +++ b/simgear/bvh/BVHMaterial.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "BVHMaterial.hxx" namespace simgear { diff --git a/simgear/bvh/BVHPageNode.cxx b/simgear/bvh/BVHPageNode.cxx index 44c0d60f..30a2261f 100644 --- a/simgear/bvh/BVHPageNode.cxx +++ b/simgear/bvh/BVHPageNode.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "BVHPageNode.hxx" #include "BVHPager.hxx" diff --git a/simgear/bvh/BVHPageRequest.cxx b/simgear/bvh/BVHPageRequest.cxx index cecd4e0e..828b2854 100644 --- a/simgear/bvh/BVHPageRequest.cxx +++ b/simgear/bvh/BVHPageRequest.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "BVHPageRequest.hxx" namespace simgear { diff --git a/simgear/bvh/BVHPager.cxx b/simgear/bvh/BVHPager.cxx index 668be8b1..829b297c 100644 --- a/simgear/bvh/BVHPager.cxx +++ b/simgear/bvh/BVHPager.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "BVHPager.hxx" #include diff --git a/simgear/bvh/BVHStaticNode.cxx b/simgear/bvh/BVHStaticNode.cxx index 4ab67c3f..70fa58ce 100644 --- a/simgear/bvh/BVHStaticNode.cxx +++ b/simgear/bvh/BVHStaticNode.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "BVHStaticNode.hxx" namespace simgear { diff --git a/simgear/bvh/bvhtest.cxx b/simgear/bvh/bvhtest.cxx index 0f01e7f0..6b19fe1f 100644 --- a/simgear/bvh/bvhtest.cxx +++ b/simgear/bvh/bvhtest.cxx @@ -15,6 +15,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include #include #include diff --git a/simgear/canvas/Canvas.cxx b/simgear/canvas/Canvas.cxx index 025b6f7f..a94dd679 100644 --- a/simgear/canvas/Canvas.cxx +++ b/simgear/canvas/Canvas.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "Canvas.hxx" #include "CanvasEventManager.hxx" #include "CanvasEventVisitor.hxx" diff --git a/simgear/canvas/CanvasEvent.cxx b/simgear/canvas/CanvasEvent.cxx index a438472b..bf54a90a 100644 --- a/simgear/canvas/CanvasEvent.cxx +++ b/simgear/canvas/CanvasEvent.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "CanvasEvent.hxx" namespace simgear diff --git a/simgear/canvas/CanvasEventManager.cxx b/simgear/canvas/CanvasEventManager.cxx index cf8ac789..38bc59f9 100644 --- a/simgear/canvas/CanvasEventManager.cxx +++ b/simgear/canvas/CanvasEventManager.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasEventManager.hxx" #include #include diff --git a/simgear/canvas/CanvasEventVisitor.cxx b/simgear/canvas/CanvasEventVisitor.cxx index efb12dbb..eb7cdbf0 100644 --- a/simgear/canvas/CanvasEventVisitor.cxx +++ b/simgear/canvas/CanvasEventVisitor.cxx @@ -17,6 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasEvent.hxx" #include "CanvasEventVisitor.hxx" #include diff --git a/simgear/canvas/CanvasMgr.cxx b/simgear/canvas/CanvasMgr.cxx index 1e0bb693..0d2fa1ea 100644 --- a/simgear/canvas/CanvasMgr.cxx +++ b/simgear/canvas/CanvasMgr.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasMgr.hxx" #include "Canvas.hxx" #include "CanvasEventManager.hxx" diff --git a/simgear/canvas/CanvasObjectPlacement.cxx b/simgear/canvas/CanvasObjectPlacement.cxx index d4a8a85c..94b07330 100644 --- a/simgear/canvas/CanvasObjectPlacement.cxx +++ b/simgear/canvas/CanvasObjectPlacement.cxx @@ -19,6 +19,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "Canvas.hxx" #include "CanvasObjectPlacement.hxx" #include diff --git a/simgear/canvas/CanvasPlacement.cxx b/simgear/canvas/CanvasPlacement.cxx index 1ff2a45f..95a3bdb8 100644 --- a/simgear/canvas/CanvasPlacement.cxx +++ b/simgear/canvas/CanvasPlacement.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasPlacement.hxx" #include diff --git a/simgear/canvas/CanvasWindow.cxx b/simgear/canvas/CanvasWindow.cxx index 29ef354a..46774a6e 100644 --- a/simgear/canvas/CanvasWindow.cxx +++ b/simgear/canvas/CanvasWindow.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasMgr.hxx" #include "CanvasSystemAdapter.hxx" #include "CanvasWindow.hxx" diff --git a/simgear/canvas/elements/CanvasElement.cxx b/simgear/canvas/elements/CanvasElement.cxx index 2c5c36a3..4fb3eab8 100644 --- a/simgear/canvas/elements/CanvasElement.cxx +++ b/simgear/canvas/elements/CanvasElement.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "CanvasElement.hxx" #include #include diff --git a/simgear/canvas/elements/CanvasGroup.cxx b/simgear/canvas/elements/CanvasGroup.cxx index 38e5c923..c753c2e2 100644 --- a/simgear/canvas/elements/CanvasGroup.cxx +++ b/simgear/canvas/elements/CanvasGroup.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "CanvasGroup.hxx" #include "CanvasImage.hxx" #include "CanvasMap.hxx" diff --git a/simgear/canvas/elements/CanvasImage.cxx b/simgear/canvas/elements/CanvasImage.cxx index aac82287..0286a4bc 100644 --- a/simgear/canvas/elements/CanvasImage.cxx +++ b/simgear/canvas/elements/CanvasImage.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "CanvasImage.hxx" #include diff --git a/simgear/canvas/elements/CanvasMap.cxx b/simgear/canvas/elements/CanvasMap.cxx index d05c1ec7..cca235b4 100644 --- a/simgear/canvas/elements/CanvasMap.cxx +++ b/simgear/canvas/elements/CanvasMap.cxx @@ -17,6 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasMap.hxx" #include "map/geo_node_pair.hxx" #include "map/projection.hxx" diff --git a/simgear/canvas/elements/CanvasPath.cxx b/simgear/canvas/elements/CanvasPath.cxx index 653930cf..cbf5f42c 100644 --- a/simgear/canvas/elements/CanvasPath.cxx +++ b/simgear/canvas/elements/CanvasPath.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "CanvasPath.hxx" #include #include diff --git a/simgear/canvas/elements/CanvasText.cxx b/simgear/canvas/elements/CanvasText.cxx index 06ad5dff..6628bb4c 100644 --- a/simgear/canvas/elements/CanvasText.cxx +++ b/simgear/canvas/elements/CanvasText.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CanvasText.hxx" #include #include diff --git a/simgear/canvas/events/CustomEvent.cxx b/simgear/canvas/events/CustomEvent.cxx index a85a6efd..460c2f11 100644 --- a/simgear/canvas/events/CustomEvent.cxx +++ b/simgear/canvas/events/CustomEvent.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "CustomEvent.hxx" namespace simgear diff --git a/simgear/canvas/events/DeviceEvent.cxx b/simgear/canvas/events/DeviceEvent.cxx index 14751720..27075bb6 100644 --- a/simgear/canvas/events/DeviceEvent.cxx +++ b/simgear/canvas/events/DeviceEvent.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "DeviceEvent.hxx" #include diff --git a/simgear/canvas/events/KeyboardEvent.cxx b/simgear/canvas/events/KeyboardEvent.cxx index 8e8f7a4b..3c5c8eda 100644 --- a/simgear/canvas/events/KeyboardEvent.cxx +++ b/simgear/canvas/events/KeyboardEvent.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "KeyboardEvent.hxx" #include "utf8.h" diff --git a/simgear/canvas/events/MouseEvent.cxx b/simgear/canvas/events/MouseEvent.cxx index b1d3a8be..3feccd28 100644 --- a/simgear/canvas/events/MouseEvent.cxx +++ b/simgear/canvas/events/MouseEvent.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "MouseEvent.hxx" #include diff --git a/simgear/canvas/events/input_event_demo.cxx b/simgear/canvas/events/input_event_demo.cxx index f6f2da63..27e172b9 100644 --- a/simgear/canvas/events/input_event_demo.cxx +++ b/simgear/canvas/events/input_event_demo.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "KeyboardEvent.hxx" #include diff --git a/simgear/canvas/layout/BoxLayout.cxx b/simgear/canvas/layout/BoxLayout.cxx index 1c470f4f..788c15a1 100644 --- a/simgear/canvas/layout/BoxLayout.cxx +++ b/simgear/canvas/layout/BoxLayout.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "BoxLayout.hxx" #include "SpacerItem.hxx" #include diff --git a/simgear/canvas/layout/Layout.cxx b/simgear/canvas/layout/Layout.cxx index b7e5b76b..dd1c4951 100644 --- a/simgear/canvas/layout/Layout.cxx +++ b/simgear/canvas/layout/Layout.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "Layout.hxx" #include diff --git a/simgear/canvas/layout/LayoutItem.cxx b/simgear/canvas/layout/LayoutItem.cxx index 8db90285..11f2ab42 100644 --- a/simgear/canvas/layout/LayoutItem.cxx +++ b/simgear/canvas/layout/LayoutItem.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "LayoutItem.hxx" #include diff --git a/simgear/canvas/layout/NasalWidget.cxx b/simgear/canvas/layout/NasalWidget.cxx index 5c027e85..79b1be70 100644 --- a/simgear/canvas/layout/NasalWidget.cxx +++ b/simgear/canvas/layout/NasalWidget.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "NasalWidget.hxx" #include diff --git a/simgear/canvas/layout/SpacerItem.cxx b/simgear/canvas/layout/SpacerItem.cxx index 9482f432..719c4967 100644 --- a/simgear/canvas/layout/SpacerItem.cxx +++ b/simgear/canvas/layout/SpacerItem.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "SpacerItem.hxx" namespace simgear diff --git a/simgear/debug/BufferedLogCallback.cxx b/simgear/debug/BufferedLogCallback.cxx index 0e35bce0..a0e63976 100644 --- a/simgear/debug/BufferedLogCallback.cxx +++ b/simgear/debug/BufferedLogCallback.cxx @@ -18,7 +18,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // - + +#include #include #include diff --git a/simgear/ephemeris/celestialBody.cxx b/simgear/ephemeris/celestialBody.cxx index ad4a76f2..2f35e8a5 100644 --- a/simgear/ephemeris/celestialBody.cxx +++ b/simgear/ephemeris/celestialBody.cxx @@ -22,6 +22,7 @@ * $Id$ **************************************************************************/ +#include #include #include diff --git a/simgear/ephemeris/moonpos.cxx b/simgear/ephemeris/moonpos.cxx index 55070a56..94f1b36c 100644 --- a/simgear/ephemeris/moonpos.cxx +++ b/simgear/ephemeris/moonpos.cxx @@ -22,7 +22,7 @@ * $Id$ **************************************************************************/ - +#include #include #include diff --git a/simgear/ephemeris/star.cxx b/simgear/ephemeris/star.cxx index b36a9006..a9d19932 100644 --- a/simgear/ephemeris/star.cxx +++ b/simgear/ephemeris/star.cxx @@ -22,6 +22,7 @@ * $Id$ **************************************************************************/ +#include #include #include diff --git a/simgear/io/DNSClient.cxx b/simgear/io/DNSClient.cxx index ff69d2ce..3332dac5 100644 --- a/simgear/io/DNSClient.cxx +++ b/simgear/io/DNSClient.cxx @@ -21,6 +21,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include #include "DNSClient.hxx" #include #include diff --git a/simgear/io/HTTPClient.cxx b/simgear/io/HTTPClient.cxx index 6f9ade43..e2ef0b73 100644 --- a/simgear/io/HTTPClient.cxx +++ b/simgear/io/HTTPClient.cxx @@ -21,6 +21,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include #include "HTTPClient.hxx" #include "HTTPFileRequest.hxx" diff --git a/simgear/io/HTTPFileRequest.cxx b/simgear/io/HTTPFileRequest.cxx index fbd6035a..135d7fc5 100644 --- a/simgear/io/HTTPFileRequest.cxx +++ b/simgear/io/HTTPFileRequest.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "HTTPFileRequest.hxx" #include #include diff --git a/simgear/io/HTTPMemoryRequest.cxx b/simgear/io/HTTPMemoryRequest.cxx index 3ce32b29..fc6c7d8c 100644 --- a/simgear/io/HTTPMemoryRequest.cxx +++ b/simgear/io/HTTPMemoryRequest.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "HTTPMemoryRequest.hxx" namespace simgear diff --git a/simgear/io/HTTPRepository.cxx b/simgear/io/HTTPRepository.cxx index 30e4de5e..86ee4d29 100644 --- a/simgear/io/HTTPRepository.cxx +++ b/simgear/io/HTTPRepository.cxx @@ -16,10 +16,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -#include "HTTPRepository.hxx" - #include +#include "HTTPRepository.hxx" + #include #include #include diff --git a/simgear/io/HTTPRequest.cxx b/simgear/io/HTTPRequest.cxx index 5e5de889..294d2f0c 100644 --- a/simgear/io/HTTPRequest.cxx +++ b/simgear/io/HTTPRequest.cxx @@ -15,6 +15,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "HTTPRequest.hxx" #include diff --git a/simgear/io/http_repo_sync.cxx b/simgear/io/http_repo_sync.cxx index decd5ea0..47f0db99 100644 --- a/simgear/io/http_repo_sync.cxx +++ b/simgear/io/http_repo_sync.cxx @@ -1,3 +1,4 @@ +#include #include #include diff --git a/simgear/io/httpget.cxx b/simgear/io/httpget.cxx index c93f7401..9ae3064d 100644 --- a/simgear/io/httpget.cxx +++ b/simgear/io/httpget.cxx @@ -1,3 +1,4 @@ +#include #include #include diff --git a/simgear/io/iostreams/sgstream.cxx b/simgear/io/iostreams/sgstream.cxx index 9a1dd95b..77c30f1f 100644 --- a/simgear/io/iostreams/sgstream.cxx +++ b/simgear/io/iostreams/sgstream.cxx @@ -20,6 +20,7 @@ // // $Id$ +#include #include #include #include // isspace() diff --git a/simgear/io/iostreams/sgstream_test.cxx b/simgear/io/iostreams/sgstream_test.cxx index b210b713..47a45a6f 100644 --- a/simgear/io/iostreams/sgstream_test.cxx +++ b/simgear/io/iostreams/sgstream_test.cxx @@ -1,3 +1,5 @@ +#include + #include #include // for EXIT_SUCCESS diff --git a/simgear/io/iostreams/zlibstream.cxx b/simgear/io/iostreams/zlibstream.cxx index 836960db..6898d068 100644 --- a/simgear/io/iostreams/zlibstream.cxx +++ b/simgear/io/iostreams/zlibstream.cxx @@ -20,6 +20,8 @@ // with this program; if not, write to the Free Software Foundation, Inc., // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +#include + #include #include // std::streamsize #include diff --git a/simgear/io/iostreams/zlibstream_test.cxx b/simgear/io/iostreams/zlibstream_test.cxx index f9f1fabf..9f1da25b 100644 --- a/simgear/io/iostreams/zlibstream_test.cxx +++ b/simgear/io/iostreams/zlibstream_test.cxx @@ -18,6 +18,8 @@ // with this program; if not, write to the Free Software Foundation, Inc., // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +#include + #include // std::basic_ios, std::streamsize... #include // std::ios_base, std::cerr, etc. #include diff --git a/simgear/io/sg_file.cxx b/simgear/io/sg_file.cxx index 4b25a952..be629e7e 100644 --- a/simgear/io/sg_file.cxx +++ b/simgear/io/sg_file.cxx @@ -20,7 +20,7 @@ // // $Id$ - +#include #include #include diff --git a/simgear/io/sg_netBuffer.cxx b/simgear/io/sg_netBuffer.cxx index a1474973..71e77534 100644 --- a/simgear/io/sg_netBuffer.cxx +++ b/simgear/io/sg_netBuffer.cxx @@ -23,6 +23,7 @@ $Id: netBuffer.cxx 1568 2002-09-02 06:05:49Z sjbaker $ */ +#include #include "sg_netBuffer.hxx" #include diff --git a/simgear/io/sg_netChannel.cxx b/simgear/io/sg_netChannel.cxx index 3fe0decf..a4a3d221 100644 --- a/simgear/io/sg_netChannel.cxx +++ b/simgear/io/sg_netChannel.cxx @@ -29,6 +29,7 @@ // to write or something...] // Maybe assert valid handle, too? +#include #include "sg_netChannel.hxx" #include diff --git a/simgear/io/sg_serial.cxx b/simgear/io/sg_serial.cxx index b7b2f5a9..2352114f 100644 --- a/simgear/io/sg_serial.cxx +++ b/simgear/io/sg_serial.cxx @@ -20,6 +20,7 @@ // // $Id$ +#include #include #include diff --git a/simgear/io/test_untar.cxx b/simgear/io/test_untar.cxx index 5fb21511..153519f0 100644 --- a/simgear/io/test_untar.cxx +++ b/simgear/io/test_untar.cxx @@ -2,6 +2,7 @@ // Test harness. //////////////////////////////////////////////////////////////////////// +#include #include #include diff --git a/simgear/io/untar.cxx b/simgear/io/untar.cxx index 9ed7caac..9a1dfe61 100644 --- a/simgear/io/untar.cxx +++ b/simgear/io/untar.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include "untar.hxx" #include diff --git a/simgear/misc/SVGpreserveAspectRatio.cxx b/simgear/misc/SVGpreserveAspectRatio.cxx index 4b994de1..3e3007c8 100644 --- a/simgear/misc/SVGpreserveAspectRatio.cxx +++ b/simgear/misc/SVGpreserveAspectRatio.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "SVGpreserveAspectRatio.hxx" #include diff --git a/simgear/misc/path_test.cxx b/simgear/misc/path_test.cxx index b587bfe2..d9364336 100644 --- a/simgear/misc/path_test.cxx +++ b/simgear/misc/path_test.cxx @@ -1,3 +1,4 @@ +#include #include diff --git a/simgear/misc/sg_dir_test.cxx b/simgear/misc/sg_dir_test.cxx index 025f4d89..4c6526ae 100644 --- a/simgear/misc/sg_dir_test.cxx +++ b/simgear/misc/sg_dir_test.cxx @@ -1,3 +1,5 @@ +#include + #include #include diff --git a/simgear/misc/strutils.cxx b/simgear/misc/strutils.cxx index e2bc3034..a9d76e24 100644 --- a/simgear/misc/strutils.cxx +++ b/simgear/misc/strutils.cxx @@ -20,6 +20,8 @@ // // $Id$ +#include + #include #include #include diff --git a/simgear/package/Catalog.cxx b/simgear/package/Catalog.cxx index 4ebedab4..1fe5746c 100644 --- a/simgear/package/Catalog.cxx +++ b/simgear/package/Catalog.cxx @@ -15,6 +15,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include #include #include diff --git a/simgear/package/Install.cxx b/simgear/package/Install.cxx index ed521066..7e22f0f2 100644 --- a/simgear/package/Install.cxx +++ b/simgear/package/Install.cxx @@ -15,6 +15,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include #include #include diff --git a/simgear/package/Package.cxx b/simgear/package/Package.cxx index 1556c4af..b5361eb9 100644 --- a/simgear/package/Package.cxx +++ b/simgear/package/Package.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include #include diff --git a/simgear/package/Root.cxx b/simgear/package/Root.cxx index 6040e936..ff99ec25 100644 --- a/simgear/package/Root.cxx +++ b/simgear/package/Root.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include #include diff --git a/simgear/package/pkgutil.cxx b/simgear/package/pkgutil.cxx index bcbe8318..4fc0dc7a 100644 --- a/simgear/package/pkgutil.cxx +++ b/simgear/package/pkgutil.cxx @@ -15,6 +15,8 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#include + #include #include #include diff --git a/simgear/props/PropertyBasedElement.cxx b/simgear/props/PropertyBasedElement.cxx index f9f7fb27..b53a3876 100644 --- a/simgear/props/PropertyBasedElement.cxx +++ b/simgear/props/PropertyBasedElement.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "PropertyBasedElement.hxx" #include diff --git a/simgear/props/PropertyBasedMgr.cxx b/simgear/props/PropertyBasedMgr.cxx index c133d152..91217fd5 100644 --- a/simgear/props/PropertyBasedMgr.cxx +++ b/simgear/props/PropertyBasedMgr.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "PropertyBasedMgr.hxx" #include diff --git a/simgear/props/PropertyInterpolationMgr.cxx b/simgear/props/PropertyInterpolationMgr.cxx index 1e8ac02c..3d7b6109 100644 --- a/simgear/props/PropertyInterpolationMgr.cxx +++ b/simgear/props/PropertyInterpolationMgr.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "PropertyInterpolationMgr.hxx" #include "PropertyInterpolator.hxx" #include "props.hxx" diff --git a/simgear/props/PropertyInterpolator.cxx b/simgear/props/PropertyInterpolator.cxx index dd010641..cd54bd6a 100644 --- a/simgear/props/PropertyInterpolator.cxx +++ b/simgear/props/PropertyInterpolator.cxx @@ -16,6 +16,8 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include + #include "PropertyInterpolator.hxx" #include "props.hxx" diff --git a/simgear/scene/material/parseBlendFunc.cxx b/simgear/scene/material/parseBlendFunc.cxx index d747a7e0..53830429 100644 --- a/simgear/scene/material/parseBlendFunc.cxx +++ b/simgear/scene/material/parseBlendFunc.cxx @@ -17,6 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "parseBlendFunc.hxx" #include "EffectBuilder.hxx" #include diff --git a/simgear/scene/material/parseBlendFunc_test.cxx b/simgear/scene/material/parseBlendFunc_test.cxx index 22adba4e..c519c956 100644 --- a/simgear/scene/material/parseBlendFunc_test.cxx +++ b/simgear/scene/material/parseBlendFunc_test.cxx @@ -1,3 +1,4 @@ +#include #include #include diff --git a/simgear/scene/model/SGPickAnimation.cxx b/simgear/scene/model/SGPickAnimation.cxx index f4ba22f5..59e9d9c4 100644 --- a/simgear/scene/model/SGPickAnimation.cxx +++ b/simgear/scene/model/SGPickAnimation.cxx @@ -19,7 +19,8 @@ * */ - + #include + #include #include diff --git a/simgear/scene/model/animation_test.cxx b/simgear/scene/model/animation_test.cxx index 051806dd..5323d7af 100644 --- a/simgear/scene/model/animation_test.cxx +++ b/simgear/scene/model/animation_test.cxx @@ -1,3 +1,4 @@ +#include #include "animation.hxx" #include diff --git a/simgear/scene/sky/sphere.cxx b/simgear/scene/sky/sphere.cxx index b937c7cc..90f166d3 100644 --- a/simgear/scene/sky/sphere.cxx +++ b/simgear/scene/sky/sphere.cxx @@ -21,6 +21,7 @@ // // $Id$ +#include #include #include #include diff --git a/simgear/scene/util/ColorInterpolator.cxx b/simgear/scene/util/ColorInterpolator.cxx index fd2edbfc..29d4a657 100644 --- a/simgear/scene/util/ColorInterpolator.cxx +++ b/simgear/scene/util/ColorInterpolator.cxx @@ -16,6 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +#include #include "ColorInterpolator.hxx" #include "parse_color.hxx" diff --git a/simgear/scene/util/StateAttributeFactory.cxx b/simgear/scene/util/StateAttributeFactory.cxx index 5b52ed64..a3d3769e 100644 --- a/simgear/scene/util/StateAttributeFactory.cxx +++ b/simgear/scene/util/StateAttributeFactory.cxx @@ -18,6 +18,7 @@ * MA 02110-1301, USA. * */ +#include #include "StateAttributeFactory.hxx" #include diff --git a/simgear/scene/util/parse_color_test.cxx b/simgear/scene/util/parse_color_test.cxx index 0998b2b0..0e6fcdd0 100644 --- a/simgear/scene/util/parse_color_test.cxx +++ b/simgear/scene/util/parse_color_test.cxx @@ -1,3 +1,4 @@ +#include #include #include "parse_color.hxx" diff --git a/simgear/serial/serial.cxx b/simgear/serial/serial.cxx index 985cc875..63a04d87 100644 --- a/simgear/serial/serial.cxx +++ b/simgear/serial/serial.cxx @@ -20,6 +20,7 @@ // // $Id$ +#include #include diff --git a/simgear/sound/openal_test1.cxx b/simgear/sound/openal_test1.cxx index c503d028..c614e564 100644 --- a/simgear/sound/openal_test1.cxx +++ b/simgear/sound/openal_test1.cxx @@ -1,5 +1,8 @@ +#include + #include #include // EXIT_FAILURE +#include #ifdef _WIN32 #include @@ -26,6 +29,7 @@ #include #include #include +#include static void print_openal_error( ALuint error ) { if ( error == AL_INVALID_NAME ) { @@ -51,7 +55,7 @@ ALuint createBufferFromFile(const SGPath& path) unsigned int block_align; ALsizei size; ALfloat sampleFrequency; - ALvoid* data = loadWAVFromFile(path, format, size, sampleFrequency, block_align); + ALvoid* data = simgear::loadWAVFromFile(path, format, size, sampleFrequency, block_align); assert(data); alGenBuffers(1, &buffer); diff --git a/simgear/sound/readwav.cxx b/simgear/sound/readwav.cxx index 59746dba..005cf193 100644 --- a/simgear/sound/readwav.cxx +++ b/simgear/sound/readwav.cxx @@ -18,6 +18,8 @@ // adapted from the freealut sources, especially alutBufferData.c, alutLoader.c // and alutCodec.c (freealut is also LGPL licensed) +#include + #include "readwav.hxx" #include diff --git a/simgear/sound/soundmgr_test.cxx b/simgear/sound/soundmgr_test.cxx index f0234142..a9004890 100644 --- a/simgear/sound/soundmgr_test.cxx +++ b/simgear/sound/soundmgr_test.cxx @@ -1,3 +1,5 @@ +#include + #include #ifdef _WIN32 #include diff --git a/simgear/sound/soundmgr_test2.cxx b/simgear/sound/soundmgr_test2.cxx index 09cec705..bab5c39a 100644 --- a/simgear/sound/soundmgr_test2.cxx +++ b/simgear/sound/soundmgr_test2.cxx @@ -1,3 +1,5 @@ +#include + #include #ifdef _WIN32 #include diff --git a/simgear/structure/SGSmplhist.cxx b/simgear/structure/SGSmplhist.cxx index 769d2564..dcd6f309 100644 --- a/simgear/structure/SGSmplhist.cxx +++ b/simgear/structure/SGSmplhist.cxx @@ -16,9 +16,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include diff --git a/simgear/structure/SGSmplstat.cxx b/simgear/structure/SGSmplstat.cxx index c9a345a9..2798d242 100644 --- a/simgear/structure/SGSmplstat.cxx +++ b/simgear/structure/SGSmplstat.cxx @@ -16,6 +16,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include #ifndef HUGE_VAL diff --git a/simgear/structure/exception.cxx b/simgear/structure/exception.cxx index 69b0189e..adfc3f87 100644 --- a/simgear/structure/exception.cxx +++ b/simgear/structure/exception.cxx @@ -4,7 +4,7 @@ // // $Id$ - +#include #include "exception.hxx" #include