summaryrefslogtreecommitdiff
path: root/tests/syncobj_wait.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2017-08-28 14:10:15 -0700
committerDave Airlie <airlied@redhat.com>2017-10-10 14:11:57 +1000
commitd7c88290ab6a8393dc341b30c7fb5e27d2952901 (patch)
tree4285dfe024035ca438081a8af129d1ff90508704 /tests/syncobj_wait.c
parent55e09d07e85b6ac51d0cb2fefebb1eda6d4c12db (diff)
syncobj: Add a test for SYNCOBJ_CREATE_SIGNALED
Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'tests/syncobj_wait.c')
-rw-r--r--tests/syncobj_wait.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/syncobj_wait.c b/tests/syncobj_wait.c
index 02699afa..385d8cd8 100644
--- a/tests/syncobj_wait.c
+++ b/tests/syncobj_wait.c
@@ -27,6 +27,8 @@
#include <unistd.h>
#include <time.h>
#include <sys/ioctl.h>
+#include <pthread.h>
+#include <signal.h>
#include "drm.h"
IGT_TEST_DESCRIPTION("Tests for the drm sync object wait API");