~davewalker/ubuntu/maverick/asterisk/lp_705014

« back to all changes in this revision

Viewing changes to include/asterisk/utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2007-06-19 18:08:27 UTC
  • mto: (1.2.1 upstream) (8.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20070619180827-4d9gqoqys7kel3yk
Tags: upstream-1.4.5~dfsg
ImportĀ upstreamĀ versionĀ 1.4.5~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include <arpa/inet.h>  /* we want to override inet_ntoa */
33
33
#include <netdb.h>
34
34
#include <limits.h>
 
35
#include <time.h>       /* we want to override localtime_r */
35
36
 
36
37
#include "asterisk/lock.h"
37
38
#include "asterisk/time.h"
38
39
#include "asterisk/strings.h"
39
40
#include "asterisk/logger.h"
40
41
#include "asterisk/compiler.h"
 
42
#include "asterisk/localtime.h"
41
43
 
42
44
/*! \note
43
45
 \verbatim
235
237
#endif
236
238
#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__
237
239
 
 
240
#ifdef localtime_r
 
241
#undef localtime_r
 
242
#endif
 
243
#define localtime_r __dont_use_localtime_r_use_ast_localtime_instead__
 
244
 
238
245
int ast_utils_init(void);
239
246
int ast_wait_for_input(int fd, int ms);
240
247