~brianaker/libmemcached/gear-clean

« back to all changes in this revision

Viewing changes to clients/ms_thread.c

  • Committer: Brian Aker
  • Date: 2012-10-25 06:28:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1088.
  • Revision ID: brian@tangent.org-20121025062822-0nun5qpq42x1zvqs
A number of small build fixes found while looking at mingw support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
#include "config.h"
13
13
 
14
 
#if TIME_WITH_SYS_TIME
 
14
#if defined(HAVE_SYS_TIME_H)
15
15
# include <sys/time.h>
 
16
#endif
 
17
 
 
18
#if defined(HAVE_TIME_H)
16
19
# include <time.h>
17
 
#else
18
 
# if HAVE_SYS_TIME_H
19
 
#  include <sys/time.h>
20
 
# else
21
 
#  include <time.h>
22
 
# endif
23
20
#endif
 
21
 
24
22
#include "ms_thread.h"
25
23
#include "ms_setting.h"
26
24
#include "ms_atomic.h"