mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +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:
parent
44b8f2d659
commit
8fa02385b0
@ -28,6 +28,8 @@
|
|||||||
#elif (defined(__APPLE__))
|
#elif (defined(__APPLE__))
|
||||||
#include <mach/task.h>
|
#include <mach/task.h>
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user