issue #5558
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 1 Nov 2005 22:11:55 +0000 (22:11 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 1 Nov 2005 22:11:55 +0000 (22:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
devicestate.c
stdtime/localtime.c

index 5c7fa35..3dd19d4 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-11-01  Kevin P. Fleming  <kpfleming@digium.com>
 
+       * stdtime/localtime.c: fix build failure on uClibc systems (issue #5558)
+       * devicestate.c: same
+
        * many files: make chan_misdn actually build (issue #5566)
 
        * many files: more Cygwin build system support (issue #4678)
index 92fb5eb..73b7795 100755 (executable)
@@ -26,6 +26,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdio.h>
 
 #include "asterisk.h"
 
index 248f206..b177d3c 100755 (executable)
 #endif
 #define TZ_STRLEN_MAX  255
 /* #define DEBUG */
-#include "asterisk/lock.h"
-#include "asterisk/localtime.h"
-
-
-#ifndef lint
-#ifndef NOID
-static const char      elsieid[] = "@(#)localtime.c    7.57";
-#endif /* !defined NOID */
-#endif /* !defined lint */
 
 /*
 ** Leap second handling from Bradley White (bww@k.gp.cs.cmu.edu).
@@ -59,12 +50,23 @@ static const char   elsieid[] = "@(#)localtime.c    7.57";
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include "private.h"
-#include "tzfile.h"
 #include <fcntl.h>
 #ifdef DEBUG
 #include <stdio.h>
 #endif
+#include "private.h"
+#include "tzfile.h"
+#include "asterisk/lock.h"
+#include "asterisk/localtime.h"
+
+
+#ifndef lint
+#ifndef NOID
+static const char      elsieid[] = "@(#)localtime.c    7.57";
+#endif /* !defined NOID */
+#endif /* !defined lint */
+
+
 
 /*
 ** SunOS 4.1.1 headers lack O_BINARY.