1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0023250: Missing include in OSD_MemInfo.cxx

Function getpid() declared in "unistd.h" header on POSIX-compliant systems.
Fix compilation error with gcc 4.7 on Linux.
This commit is contained in:
kgv 2012-07-11 10:35:19 +04:00
parent 44b8f2d659
commit 8fa02385b0

View File

@ -28,6 +28,8 @@
#elif (defined(__APPLE__))
#include <mach/task.h>
#include <mach/mach.h>
#else
#include <unistd.h>
#endif
#include <string>