darwin: fix #90
authorMichael Wallner <mike@php.net>
Mon, 20 Jan 2020 11:06:07 +0000 (12:06 +0100)
committerMichael Wallner <mike@php.net>
Mon, 20 Jan 2020 11:06:07 +0000 (12:06 +0100)
libmemcached/byteorder.cc

index 9f11aa84b3e27bcc2c5003c1d62856fb42ee8c10..44500add8832a8fd33ec318a874575e21a3ae623 100644 (file)
@@ -59,6 +59,9 @@ static inline uint64_t swap64(uint64_t in)
 }
 #endif
 
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
 
 uint64_t memcached_ntohll(uint64_t value)
 {