From fe7b93fb493b76ade13ad74438acbc4d34d2f3bd Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 16 Dec 2009 15:03:58 -0800 Subject: Include alloca.h in tests/drmstat.c when configure detects it Signed-off-by: Alan Coopersmith --- tests/drmstat.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/drmstat.c b/tests/drmstat.c index ed2aeb61..e2e75234 100644 --- a/tests/drmstat.c +++ b/tests/drmstat.c @@ -28,6 +28,8 @@ * */ +#include "config.h" + #include #include #include @@ -39,6 +41,9 @@ #include #include #include +#ifdef HAVE_ALLOCA_H +# include +#endif #include "xf86drm.h" int sigio_fd; -- cgit v1.2.3