freebsd-ports/databases/libmemcached/files/patch-clients_memaslap.c
Niclas Zeising 3f52214dc4 databases/libmemcached: Fix build with -fno-common
Fix the build of databaes/libmemcached with -fno-common, which is the
default with llvm 11.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
2020-08-22 10:23:59 +00:00

14 lines
296 B
C

--- clients/memaslap.c.orig 2020-08-22 10:06:16 UTC
+++ clients/memaslap.c
@@ -45,6 +45,11 @@
#define OPTIONSTRING const char*
#endif
+/* global variables */
+ms_global_t ms_global;
+ms_statistic_t ms_statistic;
+ms_stats_t ms_stats;
+
/* options */
static struct option long_options[]=
{