summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2024-04-11 00:53:59 +0200
committerSimon Ser <contact@emersion.fr>2024-04-10 23:27:16 +0000
commit1179edb49a57415e5265cca4757c9c65587a464c (patch)
tree73658ed328347854531c265dd83cd317bba8912c
parentf94a79a7a7cf4f84caaec6625ab43793e81721c2 (diff)
include poll.h instead of sys/poll.h
Fixes: f803a45e7442 ("add libsync.h helper") Fixes: 4c18828e16f0 ("tegra: Add job and push buffer APIs") Signed-off-by: David Heidelberg <david@ixit.cz>
-rw-r--r--libsync.h2
-rw-r--r--tegra/job.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsync.h b/libsync.h
index f1a2f96d..c6b64ed3 100644
--- a/libsync.h
+++ b/libsync.h
@@ -33,7 +33,7 @@
#include <stdint.h>
#include <string.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#if defined(__cplusplus)
diff --git a/tegra/job.c b/tegra/job.c
index 75a344f1..b9af4987 100644
--- a/tegra/job.c
+++ b/tegra/job.c
@@ -33,7 +33,7 @@
#include <unistd.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include "private.h"