Fix Windows: include needed for getpid()
This commit is contained in:
parent
0df1109d93
commit
15cb5ab075
1 changed files with 4 additions and 0 deletions
4
src/Viewer/fg_os_osgviewer.cxx
Normal file → Executable file
4
src/Viewer/fg_os_osgviewer.cxx
Normal file → Executable 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>
|
||||
|
|
Loading…
Reference in a new issue