summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-libmemcached_assert.hpp
blob: 83a464c748e3c2b9594381dd3d9809807ea96f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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>