lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit f8fd638736fa319463c0d0a31d2c7c3add4aca5a
parent 71f5ef9b2845f4ff2f7ab074d4c1047946812285
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date:   Sun, 12 Jul 2015 20:50:03 +0200

liblo: fix build with musl

When sys/poll.h gets included it results in a warning, to include
poll.h. All warnings are treated as errors by liblo.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Diffstat:
Alibs/liblo/patches/001-fix-musl-include.patch | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/libs/liblo/patches/001-fix-musl-include.patch b/libs/liblo/patches/001-fix-musl-include.patch @@ -0,0 +1,11 @@ +--- a/src/server.c ++++ b/src/server.c +@@ -48,7 +48,7 @@ + #include <netdb.h> + #include <sys/socket.h> + #ifdef HAVE_POLL +-#include <sys/poll.h> ++#include <poll.h> + #endif + #include <sys/un.h> + #include <arpa/inet.h>