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)
#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).
#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.