X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Flibmemcached%2Fcommon.h;h=eea5319b654c800dcecd20cbe867b67d65ae3db0;hb=aeac01630eed825d8a624e7fd7c107d47bb2e40c;hp=4b025fb368c2d6de8181fb63eeb4655846148fce;hpb=c8a5aecba8e189092266f304ca81ab42625edf60;p=awesomized%2Flibmemcached diff --git a/src/libmemcached/common.h b/src/libmemcached/common.h index 4b025fb3..eea5319b 100644 --- a/src/libmemcached/common.h +++ b/src/libmemcached/common.h @@ -26,26 +26,16 @@ # include # include # include +# include #else -# ifdef HAVE_STDDEF_H -# include -# endif -# ifdef HAVE_STDLIB_H -# include -# endif -# ifdef HAVE_STDLIB_H -# include -# endif +# include +# include +# include # include -# ifdef HAVE_TIME_H -# include -# endif -# ifdef HAVE_ERRNO_H -# include -# endif -# ifdef HAVE_LIMITS_H -# include -# endif +# include +# include +# include +# include #endif #ifdef HAVE_SYS_UN_H @@ -56,13 +46,8 @@ # include #endif -#ifdef HAVE_FCNTL_H -# include -#endif - -#ifdef HAVE_SYS_TYPES_H -# include -#endif +#include +#include #ifdef HAVE_UNISTD_H # include @@ -89,11 +74,7 @@ #include "libmemcached/is.h" typedef struct memcached_st Memcached; -#ifdef HAVE_POLL_H -# include -#else -# include "libmemcached/poll.h" -#endif +#include "libmemcached/poll.h" #ifdef __cplusplus memcached_instance_st *memcached_instance_fetch(memcached_st *ptr, uint32_t server_key);