When checking for prctl() include unistd.h so we pull in sys/cdefs.h
git-svn-id: http://voip.null.ro/svn/yate@2766 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
67f1f67397
commit
afa5189def
|
@ -97,6 +97,7 @@ HAVE_PRCTL=""
|
|||
AC_MSG_CHECKING([for prctl])
|
||||
have_prctl="no"
|
||||
AC_TRY_COMPILE([
|
||||
#include <unistd.h>
|
||||
#include <sys/prctl.h>
|
||||
],[
|
||||
prctl(1,2,3,4,5);
|
||||
|
|
Loading…
Reference in New Issue