diff options
author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | 2020-08-10 08:30:34 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-08-24 09:27:11 +0900 |
commit | 4ebb23be137e86891fbaea94d5e76f8aa83bc954 (patch) | |
tree | 88ef962cd4519d3ae8392afb0472bce4a043e3e2 /systemd/3rdparty/sd-daemon.c | |
parent | ef7ca2706aa2e877c1be62d73554c6c79996d69a (diff) | |
download | DLT-daemon-4ebb23be137e86891fbaea94d5e76f8aa83bc954.tar.gz |
sd-daemon.c: Fix build with newer glibc and musl libc
Reported by Khem Raj on meta-oe list
TOPDIR/build/tmp/work/armv7vet2hf-neon-yoe-linux-musleabi/dlt-daemon/2.18.5-r0/recipe-sysroot/usr/include/sys/fcntl.h:1:2: error: redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror,-W#warnings]
^
1 error generated.
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Diffstat (limited to 'systemd/3rdparty/sd-daemon.c')
-rw-r--r-- | systemd/3rdparty/sd-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/3rdparty/sd-daemon.c b/systemd/3rdparty/sd-daemon.c index 88936d2..de3f985 100644 --- a/systemd/3rdparty/sd-daemon.c +++ b/systemd/3rdparty/sd-daemon.c @@ -35,7 +35,7 @@ #ifdef __BIONIC__ #include <linux/fcntl.h> #else -#include <sys/fcntl.h> +#include <fcntl.h> #endif #include <netinet/in.h> #include <stdlib.h> |