From 883346d64a852193fb4119d4399aa0f5a54d8ae8 Mon Sep 17 00:00:00 2001 From: rizzo Date: Fri, 16 Nov 2007 20:04:58 +0000 Subject: Start untangling header inclusion in a way that does not affect build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/astmm.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/asterisk/astmm.h') diff --git a/include/asterisk/astmm.h b/include/asterisk/astmm.h index f1f838ef0..4487c17aa 100644 --- a/include/asterisk/astmm.h +++ b/include/asterisk/astmm.h @@ -27,13 +27,6 @@ #include "asterisk.h" -/* Include these now to prevent them from being needed later */ -#include -#include -#include -#include -#include - /* Undefine any macros */ #undef malloc #undef calloc -- cgit v1.2.3