summaryrefslogtreecommitdiff
path: root/src/lib/dlt_user.c
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>2020-01-25 09:20:48 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-01-27 11:54:34 +0900
commit4259bed2e11bc8c4b6ef4c71ba300db13df42110 (patch)
tree94c28451b6e47a66fa0bca22d1584ec5567b3415 /src/lib/dlt_user.c
parent379738ec71edcf9cde044217956e4b5f21352711 (diff)
downloadDLT-daemon-4259bed2e11bc8c4b6ef4c71ba300db13df42110.tar.gz
sys/poll.h: deprecate old sys/poll.h include header, now glibc/musl wants poll.h being included directly.
This fixes a build failure on musl systems with strict c hardening flags Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Diffstat (limited to 'src/lib/dlt_user.c')
-rw-r--r--src/lib/dlt_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index ffa9b09..511f991 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -43,7 +43,7 @@
#include <errno.h>
#include <sys/uio.h> /* writev() */
-#include <sys/poll.h>
+#include <poll.h>
#include <limits.h>
#ifdef linux