summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-12 12:30:38 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-12 12:30:38 -0700
commita8f853698f22d14f72eca9100bd436eab919b047 (patch)
tree14a3f8f920b8b764e5ca57fb60ba5e68c417e6a4
parent46eaedd374f9fde6bda294aa911775edefa12f07 (diff)
downloadliburing-a8f853698f22d14f72eca9100bd436eab919b047.tar.gz
liburing-a8f853698f22d14f72eca9100bd436eab919b047.tar.bz2
Always use bundled liburing.h for test cases
Don't rely on the systems version, or that the system even has one installed. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/accept-link.c2
-rw-r--r--test/accept.c2
-rw-r--r--test/poll-link.c2
-rw-r--r--test/socket-rw.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/accept-link.c b/test/accept-link.c
index e15aed6..2fbc12e 100644
--- a/test/accept-link.c
+++ b/test/accept-link.c
@@ -11,7 +11,7 @@
#include <netinet/in.h>
#include <poll.h>
-#include <liburing.h>
+#include "liburing.h"
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/test/accept.c b/test/accept.c
index c47c2f5..edb7bc2 100644
--- a/test/accept.c
+++ b/test/accept.c
@@ -17,7 +17,7 @@
#include <netinet/tcp.h>
#include <netinet/in.h>
-#include <liburing.h>
+#include "liburing.h"
static int no_accept;
diff --git a/test/poll-link.c b/test/poll-link.c
index 52fd4e1..8634fa4 100644
--- a/test/poll-link.c
+++ b/test/poll-link.c
@@ -11,7 +11,7 @@
#include <netinet/in.h>
#include <poll.h>
-#include <liburing.h>
+#include "liburing.h"
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
diff --git a/test/socket-rw.c b/test/socket-rw.c
index 454bbc8..1ace4b8 100644
--- a/test/socket-rw.c
+++ b/test/socket-rw.c
@@ -17,7 +17,7 @@
#include <netinet/tcp.h>
#include <netinet/in.h>
-#include <liburing.h>
+#include "liburing.h"
int main(int argc, char *argv[])
{