diff --git a/include/osg/GraphicsContext b/include/osg/GraphicsContext index 71728ef7f..aadf26305 100644 --- a/include/osg/GraphicsContext +++ b/include/osg/GraphicsContext @@ -66,7 +66,7 @@ class OSG_EXPORT GraphicsContext : public Object }; /** GraphicsContext Traits object provides the specification of what type of graphics context is required.*/ - struct Traits : public osg::Referenced, public ScreenIdentifier + struct OSG_EXPORT Traits : public osg::Referenced, public ScreenIdentifier { Traits(DisplaySettings* ds=0); diff --git a/include/osg/Texture b/include/osg/Texture index e3406b9fe..3068e9391 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -22,6 +22,7 @@ #include #include #include +#include #include #include