mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user