diff options
Diffstat (limited to 'asterisk.c')
-rw-r--r-- | asterisk.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/asterisk.c b/asterisk.c index ad92a5c0f..9f01e342c 100644 --- a/asterisk.c +++ b/asterisk.c @@ -57,6 +57,10 @@ */ +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + #include <unistd.h> #include <stdlib.h> #include <sys/time.h> @@ -86,14 +90,10 @@ #if defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS) #include <netdb.h> #if defined(SOLARIS) -extern int daemon(int, int); /* defined in libresolv of all places */ +int daemon(int, int); /* defined in libresolv of all places */ #endif #endif -#include "asterisk.h" - -ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - #include "asterisk/logger.h" #include "asterisk/options.h" #include "asterisk/cli.h" @@ -122,7 +122,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/version.h" #include "asterisk/linkedlists.h" #include "asterisk/devicestate.h" -#include "asterisk/compat.h" #include "asterisk/doxyref.h" /* Doxygen documentation */ |