From 6ba9909eda96f8efe7cd67da89024533d48b05cc Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Tue, 8 Apr 2008 16:56:52 +0000 Subject: [PATCH] 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 --- main/asterisk.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main/asterisk.c b/main/asterisk.c index 219c1911dd..ca6396827f 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -80,6 +80,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #include + +#ifdef HAVE_ZAPTEL +#include +#include +#endif + #ifdef linux #include #ifdef HAVE_CAP @@ -95,11 +101,6 @@ int daemon(int, int); /* defined in libresolv of all places */ #endif #endif -#ifdef HAVE_ZAPTEL -#include -#include -#endif - #include "asterisk/logger.h" #include "asterisk/options.h" #include "asterisk/cli.h"