pkgsrc/devel/libmemcached/patches/patch-libmemcached_byteorder.cc
fhajny e10f90f543 Update libmemcached to 1.0.18.
Changes in 1.0.18:
- MEMCACHED_BEHAVIOR_RETRY_TIMEOUT can now be set to zero.
- Numerous bug fixes.
2014-04-01 13:51:56 +00:00

15 lines
384 B
C++

$NetBSD: patch-libmemcached_byteorder.cc,v 1.2 2014/04/01 13:51:56 fhajny Exp $
Need ntohll/htonll defined.
--- libmemcached/byteorder.cc.orig 2014-02-09 11:52:42.000000000 +0000
+++ libmemcached/byteorder.cc
@@ -36,6 +36,9 @@
*/
#include "mem_config.h"
+#ifdef __sun
+# include "sys/byteorder.h"
+#endif
#include "libmemcached/byteorder.h"
/* Byte swap a 64-bit number. */