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:
paulc 2009-07-23 13:50:22 +00:00
parent 67f1f67397
commit afa5189def
1 changed files with 1 additions and 0 deletions

View File

@ -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);