Skip to content

Commit

Permalink
sd-daemon.c: Fix build with newer glibc and musl libc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
LocutusOfBorg authored and ssugiura committed Aug 24, 2020
1 parent ef7ca27 commit 4ebb23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/3rdparty/sd-daemon.c
Expand Up @@ -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>
Expand Down

0 comments on commit 4ebb23b

Please sign in to comment.