]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
Fix redirection of incorrect system headers 78/head
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 28 May 2015 07:54:46 +0000 (09:54 +0200)
committerJörg Krause <joerg.krause@embedded.rocks>
Thu, 28 May 2015 07:54:46 +0000 (09:54 +0200)
commit8a122426c654ce87568b6be78af7e66df4a1b4c0
tree98d47b1119c85a033925d7c800a344790c2fd9e8
parente12d7ad23ee3c40b61c31543737dd1b929e08a53
Fix redirection of incorrect system headers

The POSIX correct header include is `<poll.h>` [1] and `<signal.h>`

The glibc silently redirects these incorrect includes, musl libc prints
a warning:
  #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  #warning redirecting incorrect #include <sys/signal.h> to <signal.h>

[1]
http://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.h.html

[2]
http://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html
player.c
rtsp.c