~brianaker/libmemcached/1062704

« back to all changes in this revision

Viewing changes to libmemcached/common.h

  • Committer: Brian Aker
  • Date: 2012-10-06 23:35:12 UTC
  • Revision ID: brian@tangent.org-20121006233512-1jbx4irayq94opmt
Remove another chunck of Pandora.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#include <config.h>
46
46
 
47
47
#ifdef __cplusplus
48
 
#include <cstdio>
49
 
#include <cstdlib>
50
 
#include <cstring>
51
 
#include <ctime>
52
 
#include <cctype>
53
 
#include <cerrno>
54
 
#include <climits>
 
48
#  include <cstdio>
 
49
#  include <cstdlib>
 
50
#  include <cstring>
 
51
#  include <ctime>
 
52
#  include <cctype>
 
53
#  include <cerrno>
 
54
#  include <climits>
55
55
#else
56
 
#include <stdio.h>
57
 
#include <stdlib.h>
58
 
#include <string.h>
59
 
#include <time.h>
60
 
#include <errno.h>
61
 
#include <limits.h>
62
 
#endif
63
 
 
64
 
#include <fcntl.h>
65
 
#include <sys/types.h>
66
 
#include <unistd.h>
 
56
#  ifdef HAVE_STDLIB_H
 
57
#   include <stdio.h>
 
58
#  endif
 
59
#  ifdef HAVE_STDLIB_H
 
60
#    include <stdlib.h>
 
61
#  endif
 
62
#  include <string.h>
 
63
#  include <time.h>
 
64
#  ifdef HAVE_ERRNO_H
 
65
#    include <errno.h>
 
66
#  endif
 
67
#  ifdef HAVE_LIMITS_H
 
68
#    include <limits.h>
 
69
#  endif
 
70
#endif
 
71
 
 
72
#ifdef HAVE_FCNTL_H
 
73
#  include <fcntl.h>
 
74
#endif
 
75
 
 
76
#ifdef HAVE_SYS_TYPES_H
 
77
#  include <sys/types.h>
 
78
#endif
 
79
 
 
80
#ifdef HAVE_UNISTD_H
 
81
#  include <unistd.h>
 
82
#endif
67
83
 
68
84
#ifdef HAVE_STRINGS_H
69
 
#include <strings.h>
 
85
#  include <strings.h>
 
86
#endif
 
87
 
 
88
#ifdef HAVE_DLFCN_H
 
89
#  include <dlfcn.h>
70
90
#endif
71
91
 
72
92
#include <libmemcached-1.0/memcached.h>
77
97
#include <libmemcached/server_instance.h>
78
98
 
79
99
#ifdef HAVE_POLL_H
80
 
#include <poll.h>
 
100
# include <poll.h>
81
101
#else
82
 
#include "poll/poll.h"
 
102
# include "poll/poll.h"
83
103
#endif
84
104
 
85
105
#ifdef __cplusplus