diff --git a/src/Viewer/fg_os_osgviewer.cxx b/src/Viewer/fg_os_osgviewer.cxx old mode 100644 new mode 100755 index cc0479c86..049cf9e50 --- a/src/Viewer/fg_os_osgviewer.cxx +++ b/src/Viewer/fg_os_osgviewer.cxx @@ -65,6 +65,10 @@ # include #endif +#if defined(SG_WINDOWS) +#include // _getpid() +#endif + // Static linking of OSG needs special macros #ifdef OSG_LIBRARY_STATIC #include