diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-16 20:12:41 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-16 20:12:41 +0000 |
commit | 8b5225e1c5dfe48c9521d4b02a73fa405f2c4a2f (patch) | |
tree | 695427eb03d035f05a6779afd067eef63bc63200 /main/stdtime | |
parent | 00990781f38f426b1c2139cfe52ccf7c7e635d04 (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 'main/stdtime')
-rw-r--r-- | main/stdtime/localtime.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c index 5be8a14f2..491b3df95 100644 --- a/main/stdtime/localtime.c +++ b/main/stdtime/localtime.c @@ -43,10 +43,6 @@ #define TZ_STRLEN_MAX 255 /* #define DEBUG */ -#include "asterisk.h" - -ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - /*LINTLIBRARY*/ #include <sys/types.h> @@ -58,10 +54,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "private.h" #include "tzfile.h" + +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + #include "asterisk/lock.h" #include "asterisk/localtime.h" - #ifndef lint #ifndef NOID static const char elsieid[] = "@(#)localtime.c 7.57"; |