X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fbyteorder.h;h=f43dbc435f8dc30eb29936b6d4b2f018bb8670e3;hb=6b46b12051fa265bbd9c2a17899a280c8bd82769;hp=17e66a78f59e0d52ee235b9a08dc53af26cd618e;hpb=e42302e08fa4d04cb21eaf7493f5f92b11169c03;p=awesomized%2Flibmemcached diff --git a/libmemcached/byteorder.h b/libmemcached/byteorder.h index 17e66a78..f43dbc43 100644 --- a/libmemcached/byteorder.h +++ b/libmemcached/byteorder.h @@ -9,11 +9,16 @@ * */ -#ifndef LIBMEMCACHED_BYTEORDER_H -#define LIBMEMCACHED_BYTEORDER_H +#ifndef __LIBMEMCACHED_BYTEORDER_H__ +#define __LIBMEMCACHED_BYTEORDER_H__ #include "config.h" +#if HAVE_SYS_TYPES_H +#include +#endif + + /* Define this here, which will turn on the visibilty controls while we're * building libmemcached. */ @@ -40,4 +45,4 @@ uint64_t htonll(uint64_t); #undef htonl #endif -#endif /* LIBMEMCACHED_BYTEORDER_H */ +#endif /*__LIBMEMCACHED_BYTEORDER_H__ */