aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-16 20:12:41 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-16 20:12:41 +0000
commit8b5225e1c5dfe48c9521d4b02a73fa405f2c4a2f (patch)
tree695427eb03d035f05a6779afd067eef63bc63200 /include/asterisk.h
parent00990781f38f426b1c2139cfe52ccf7c7e635d04 (diff)
since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48521 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk.h')
-rw-r--r--include/asterisk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 3c91f3430..6579496f7 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -18,6 +18,13 @@
#ifndef _ASTERISK_H
#define _ASTERISK_H
+/* The include of 'autoconfig.h' is not necessary for any modules that
+ are part of the Asterisk source tree, because the top-level Makefile
+ will forcibly include that header in all compilations before all
+ other headers (even system headers). However, leaving this here will
+ help out-of-tree module builders, and doesn't cause any harm for the
+ in-tree modules.
+*/
#include "asterisk/autoconfig.h"
#include "asterisk/compat.h"