summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-libmemcached_assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libmemcached/files/patch-libmemcached_assert.hpp')
-rw-r--r--databases/libmemcached/files/patch-libmemcached_assert.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/libmemcached/files/patch-libmemcached_assert.hpp b/databases/libmemcached/files/patch-libmemcached_assert.hpp
new file mode 100644
index 000000000000..83a464c748e3
--- /dev/null
+++ b/databases/libmemcached/files/patch-libmemcached_assert.hpp
@@ -0,0 +1,13 @@
+--- libmemcached/assert.hpp.orig 2014-12-10 05:16:11 UTC
++++ libmemcached/assert.hpp
+@@ -51,8 +51,10 @@
+ # ifdef _WIN32
+ # include <malloc.h>
+ # else
++#ifdef HAVE_ALLOCA_H
+ # include <alloca.h>
+ # endif
++# endif
+
+ #ifdef __cplusplus
+ # include <cstdarg>