$NetBSD: patch-tests_libmemcached-1.0_ketama.cc,v 1.5 2017/10/09 07:48:52 adam Exp $ Use stdint. --- tests/libmemcached-1.0/ketama.cc.orig 2014-02-09 11:52:42.000000000 +0000 +++ tests/libmemcached-1.0/ketama.cc @@ -33,6 +33,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ +#define __STDC_CONSTANT_MACROS #include #include @@ -45,6 +46,7 @@ #include #include +#include test_return_t ketama_compatibility_libmemcached(memcached_st *) {