diff options
author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | 2020-01-25 09:20:48 +0100 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-01-27 11:54:34 +0900 |
commit | 4259bed2e11bc8c4b6ef4c71ba300db13df42110 (patch) | |
tree | 94c28451b6e47a66fa0bca22d1584ec5567b3415 /src | |
parent | 379738ec71edcf9cde044217956e4b5f21352711 (diff) | |
download | DLT-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')
-rw-r--r-- | src/console/logstorage/dlt-logstorage-ctrl.c | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_event_handler.c | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_event_handler.h | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_event_handler_types.h | 2 | ||||
-rw-r--r-- | src/lib/dlt_user.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/console/logstorage/dlt-logstorage-ctrl.c b/src/console/logstorage/dlt-logstorage-ctrl.c index 525c137..6614f44 100644 --- a/src/console/logstorage/dlt-logstorage-ctrl.c +++ b/src/console/logstorage/dlt-logstorage-ctrl.c @@ -61,7 +61,7 @@ #include <string.h> #include <getopt.h> -#include <sys/poll.h> +#include <poll.h> #if defined(__linux__) # include "sd-daemon.h" diff --git a/src/daemon/dlt_daemon_event_handler.c b/src/daemon/dlt_daemon_event_handler.c index 1611f7b..0d463da 100644 --- a/src/daemon/dlt_daemon_event_handler.c +++ b/src/daemon/dlt_daemon_event_handler.c @@ -30,7 +30,7 @@ #include <string.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <syslog.h> #include "dlt_common.h" diff --git a/src/daemon/dlt_daemon_event_handler.h b/src/daemon/dlt_daemon_event_handler.h index eb96101..bd550d3 100644 --- a/src/daemon/dlt_daemon_event_handler.h +++ b/src/daemon/dlt_daemon_event_handler.h @@ -25,7 +25,7 @@ * \file dlt_daemon_event_handler.h */ -#include <sys/poll.h> +#include <poll.h> #include "dlt_daemon_connection_types.h" #include "dlt_daemon_event_handler_types.h" diff --git a/src/daemon/dlt_daemon_event_handler_types.h b/src/daemon/dlt_daemon_event_handler_types.h index 370e503..0b16d08 100644 --- a/src/daemon/dlt_daemon_event_handler_types.h +++ b/src/daemon/dlt_daemon_event_handler_types.h @@ -25,7 +25,7 @@ * \file dlt_daemon_event_handler_types.h */ -#include <sys/poll.h> +#include <poll.h> #include "dlt_daemon_connection_types.h" 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 |