From: Michael Wallner Date: Mon, 20 Jan 2020 11:06:07 +0000 (+0100) Subject: darwin: fix #90 X-Git-Tag: pre_cmake~36 X-Git-Url: https://git.m6w6.name/?p=awesomized%2Flibmemcached;a=commitdiff_plain;h=2eae87612891b9cd1920c4afa8515b208e12958d darwin: fix #90 --- diff --git a/libmemcached/byteorder.cc b/libmemcached/byteorder.cc index 9f11aa84..44500add 100644 --- a/libmemcached/byteorder.cc +++ b/libmemcached/byteorder.cc @@ -59,6 +59,9 @@ static inline uint64_t swap64(uint64_t in) } #endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif uint64_t memcached_ntohll(uint64_t value) {