From 2eae87612891b9cd1920c4afa8515b208e12958d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 20 Jan 2020 12:06:07 +0100 Subject: [PATCH] darwin: fix #90 --- libmemcached/byteorder.cc | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.30.2