Memcached 1.5.21 Overview Bugfixes and smaller changes. Thanks to all the external contributors! Fixes Adding missing defaults to the --help output stats: Fix stats delimiter unit tests Allow compilation with ASAN restart: add error handling if mmap fails For text auth token mode, use alternative bcmp implementation memcached-tool: Fix up tabular output for the 'stats' command. linux_priv.c: add termios.h include to fix powerpc(64) builds Update the build documentation in BUILD file Update documentation for --max-item-size Fix build issue due to improper pthread_t comparison Ensure t/whitespace.t test is skipped when outside a memcached git checkout Allocating large chunk of slabs for FreeBSD. New Features configuration option to disable watch commands (-W)
15 lines
519 B
C
15 lines
519 B
C
$NetBSD: patch-util.h,v 1.1 2020/01/22 18:53:13 adam Exp $
|
|
|
|
Include config.h before using HAVE_HTONLL.
|
|
https://github.com/memcached/memcached/issues/598
|
|
|
|
--- util.h.orig 2020-01-22 14:55:21.000000000 +0000
|
|
+++ util.h
|
|
@@ -20,6 +20,7 @@ bool safe_strtod(const char *str, double
|
|
bool safe_strcpy(char *dst, const char *src, const size_t dstmax);
|
|
bool safe_memcmp(const void *a, const void *b, size_t len);
|
|
|
|
+#include "config.h"
|
|
#ifndef HAVE_HTONLL
|
|
extern uint64_t htonll(uint64_t);
|
|
extern uint64_t ntohll(uint64_t);
|