mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
improve header inclusion process in a few small ways:
- it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled - simplify the usage of some of these headers in the AEL-related stuff in the utils directory git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@144924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -60,7 +60,9 @@
|
||||
%option bison-locations
|
||||
|
||||
%{
|
||||
#if !defined(STANDALONE_AEL)
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@@ -179,7 +179,9 @@
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#if !defined(STANDALONE_AEL)
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -24,7 +24,9 @@
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#if !defined(STANDALONE_AEL)
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -817,7 +817,9 @@ static yyconst flex_int16_t yy_chk[1073] =
|
||||
* bison-locations is probably not needed.
|
||||
*/
|
||||
#line 63 "ael.flex"
|
||||
#if !defined(STANDALONE_AEL)
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@@ -24,7 +24,9 @@
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#if !defined(STANDALONE_AEL)
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
|
Reference in New Issue
Block a user