diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-16 15:03:58 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2010-01-16 19:37:05 -0800 |
commit | fe7b93fb493b76ade13ad74438acbc4d34d2f3bd (patch) | |
tree | 843cf0baea972e404329637a28192dbb2a880ed2 /tests/drmstat.c | |
parent | 3d3d87f3a70089f645facb2bff5a0b93ec0a0efd (diff) |
Include alloca.h in tests/drmstat.c when configure detects it
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'tests/drmstat.c')
-rw-r--r-- | tests/drmstat.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -39,6 +41,9 @@ #include <errno.h> #include <signal.h> #include <fcntl.h> +#ifdef HAVE_ALLOCA_H +# include <alloca.h> +#endif #include "xf86drm.h" int sigio_fd; |