Work around some silliness caused by sys/capability.h - this should fix compile errors a number of users have been experiencing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@113402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jason Parker 17 years ago
parent 4e44f14c32
commit 6ba9909eda

@ -80,6 +80,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <grp.h>
#include <pwd.h>
#include <sys/stat.h>
#ifdef HAVE_ZAPTEL
#include <sys/ioctl.h>
#include <zaptel/zaptel.h>
#endif
#ifdef linux
#include <sys/prctl.h>
#ifdef HAVE_CAP
@ -95,11 +101,6 @@ int daemon(int, int); /* defined in libresolv of all places */
#endif
#endif
#ifdef HAVE_ZAPTEL
#include <sys/ioctl.h>
#include <zaptel/zaptel.h>
#endif
#include "asterisk/logger.h"
#include "asterisk/options.h"
#include "asterisk/cli.h"

Loading…
Cancel
Save