Compilation problem in MacOS X/Darwin
When compiling the git master branch on MacOS X we get the following error:
util-coredump-config.c:85:23: error: sys/prctl.h: No such file or directory
This is caused by a forgotten
!defined OS_DARWIN in the
The attached patch solves the issue.
#1 Updated by Victor Julien almost 5 years ago
- Due date set to 12/14/2011
- Status changed from New to Assigned
- Assignee set to Eileen Donlon
- Target version set to 1.2beta1
Thanks Christophe. I think we should solve this in a different way though. In our configure.in we need to add it to the AC_CHECK_HEADERS line and then the configure phase will add it to config.h as HAVE_SYS_PRCTL_H -- or not. I think our code should check for that.
Eileen, can you pick that up?