Files
Ryan Schmidt 5c99dee1c2 memcached: Update to 1.5.22
And add cyrus-sasl2 dependency to sasl variant.
2022-04-23 01:44:42 -05:00

12 lines
438 B
Diff

Fix redefinition of htonll and consequent build failure on macOS.
https://github.com/memcached/memcached/issues/598
https://github.com/memcached/memcached/commit/95c67710aaf5cfe188d94b510faef8c66d6f5604
--- util.h.orig
+++ util.h
@@ -1,3 +1,5 @@
+#include "config.h"
+
/* fast-enough functions for uriencoding strings. */
void uriencode_init(void);
bool uriencode(const char *src, char *dst, const size_t srclen, const size_t dstlen);