summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-libtest_lite.h
blob: c9cd4a3605e13a85f849801074e7638e56a5027d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libtest/lite.h.orig	2014-02-09 11:52:42 UTC
+++ libtest/lite.h
@@ -54,8 +54,10 @@
 #if defined(WIN32)
 # include <malloc.h>
 #else
+#ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
+#endif
 
 #ifndef __PRETTY_FUNCTION__
 # define __PRETTY_FUNCTION__ __func__