git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 20 years ago
parent 661a2b97af
commit e1bcf1d043

@ -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)

@ -26,6 +26,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "asterisk.h"

@ -39,15 +39,6 @@
#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.

Loading…
Cancel
Save