1
0
Fork 0

Fix Windows: include needed for getpid()

This commit is contained in:
James Turner 2022-05-16 12:14:13 +01:00
parent 0df1109d93
commit 15cb5ab075

4
src/Viewer/fg_os_osgviewer.cxx Normal file → Executable file
View file

@ -65,6 +65,10 @@
# include <GUI/CocoaHelpers.h>
#endif
#if defined(SG_WINDOWS)
#include <process.h> // _getpid()
#endif
// Static linking of OSG needs special macros
#ifdef OSG_LIBRARY_STATIC
#include <osgDB/Registry>