summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/drmstat.c5
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;