mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
11
asterisk.c
11
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 */
|
||||
|
||||
|
Reference in New Issue
Block a user