~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_alarm.c

Removed time.h and sys/time.h from global.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <sys/select.h>                         /* AIX needs this for fd_set */
29
29
#endif
30
30
 
 
31
#if TIME_WITH_SYS_TIME
 
32
# include <sys/time.h>
 
33
# include <time.h>
 
34
#else
 
35
# if HAVE_SYS_TIME_H
 
36
#  include <sys/time.h>
 
37
# else
 
38
#  include <time.h>
 
39
# endif
 
40
#endif  
 
41
 
 
42
 
31
43
#ifndef ETIME
32
44
#define ETIME ETIMEDOUT
33
45
#endif