aboutsummaryrefslogtreecommitdiff
path: root/test/sqpoll-exit-hang.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sqpoll-exit-hang.c')
-rw-r--r--test/sqpoll-exit-hang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sqpoll-exit-hang.c b/test/sqpoll-exit-hang.c
index 43385ce..cde2115 100644
--- a/test/sqpoll-exit-hang.c
+++ b/test/sqpoll-exit-hang.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Test that we exit properly with SQPOLL and having a request that
* adds a circular reference to the ring itself.
@@ -7,7 +8,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
#include "liburing.h"
static unsigned long long mtime_since(const struct timeval *s,