From 044c18f7f720e91ae66c1b26f8adb48e92d54fe7 Mon Sep 17 00:00:00 2001 From: qwell Date: Tue, 8 Apr 2008 16:56:52 +0000 Subject: Work around some silliness caused by sys/capability.h - this should fix compile errors a number of users have been experiencing. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@113402 f38db490-d61c-443f-a65b-d21fe96a405b --- main/asterisk.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main/asterisk.c') diff --git a/main/asterisk.c b/main/asterisk.c index 219c1911d..ca6396827 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" -- cgit v1.2.3