summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-libtest_lite.h
blob: 01a2641c3ea187048c66a21f75bda9af577bde8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libtest/lite.h.orig	2014-12-09 03:34:21 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__