From fdb7f7ba3da0b1bb02c782eba68aa1fa4ba96800 Mon Sep 17 00:00:00 2001 From: Luigi 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: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/stringfields.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/asterisk/stringfields.h') diff --git a/include/asterisk/stringfields.h b/include/asterisk/stringfields.h index f842601ca..214935ac0 100644 --- a/include/asterisk/stringfields.h +++ b/include/asterisk/stringfields.h @@ -102,10 +102,6 @@ #ifndef _ASTERISK_STRINGFIELDS_H #define _ASTERISK_STRINGFIELDS_H -#include -#include -#include - #include "asterisk/inline_api.h" #include "asterisk/compiler.h" #include "asterisk/compat.h" -- cgit v1.2.3