mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
438 B
Diff
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);
|