proper osx libproc.h location is /usr/include

This commit is contained in:
Doug MacEachern 2008-07-13 21:10:56 +00:00
parent 424effcad7
commit 5da628b67b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#include <mach/host_info.h> #include <mach/host_info.h>
#ifdef DARWIN_HAS_LIBPROC_H #ifdef DARWIN_HAS_LIBPROC_H
#include <mach-o/dyld.h> #include <mach-o/dyld.h>
#include <sys/libproc.h> #include <libproc.h>
typedef int (*proc_pidinfo_func_t)(int, int, uint64_t, void *, int); typedef int (*proc_pidinfo_func_t)(int, int, uint64_t, void *, int);
typedef int (*proc_pidfdinfo_func_t)(int, int, int, void *, int); typedef int (*proc_pidfdinfo_func_t)(int, int, int, void *, int);
#endif #endif