X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fprotocol%2Fcommon.h;h=f606242232f37697ee6a474f396d52e98763e615;hb=e6a6807ad79f55f49826d3c76498373197ad59a7;hp=036a13f6c49c713dd92c159c847b08f633533022;hpb=9131482f7923cf9e90b5a715b38e70e3a229b052;p=m6w6%2Flibmemcached diff --git a/libmemcached/protocol/common.h b/libmemcached/protocol/common.h index 036a13f6..f6062422 100644 --- a/libmemcached/protocol/common.h +++ b/libmemcached/protocol/common.h @@ -7,25 +7,12 @@ #include #include -#ifdef linux -/* /usr/include/netinet/in.h defines macros from ntohs() to _bswap_nn to - * optimize the conversion functions, but the prototypes generate warnings - * from gcc. The conversion methods isn't the bottleneck for my app, so - * just remove the warnings by undef'ing the optimization .. - */ -#undef ntohs -#undef ntohl -#undef htons -#undef htonl - -#endif - - /* Define this here, which will turn on the visibilty controls while we're * building libmemcached. */ #define BUILDING_LIBMEMCACHED 1 +#include #include #include