From 93942387203bc1ed0346d0811f6f19120ae4a7a1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 23 Jul 2007 20:10:13 +0000 Subject: [PATCH] From Andy Skinner, addition of standard c library includes to avoid issues with using STLport on some platforms. --- src/osgDB/FileNameUtils.cpp | 3 +++ src/osgPlugins/txp/trpage_swap.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/src/osgDB/FileNameUtils.cpp b/src/osgDB/FileNameUtils.cpp index c9af30f2e..9647882b5 100644 --- a/src/osgDB/FileNameUtils.cpp +++ b/src/osgDB/FileNameUtils.cpp @@ -10,6 +10,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * OpenSceneGraph Public License for more details. */ +#include +#include + #include #ifdef WIN32 diff --git a/src/osgPlugins/txp/trpage_swap.cpp b/src/osgPlugins/txp/trpage_swap.cpp index 1c34f23cd..d723d337a 100644 --- a/src/osgPlugins/txp/trpage_swap.cpp +++ b/src/osgPlugins/txp/trpage_swap.cpp @@ -15,6 +15,7 @@ #include #include +#include /* trpage_swap.h Byte swapping utility functions.