浏览代码

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>
Hauke Mehrtens 9 年前
父节点
当前提交
f8fd638736
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      libs/liblo/patches/001-fix-musl-include.patch

+ 11
- 0
libs/liblo/patches/001-fix-musl-include.patch 查看文件

@@ -0,0 +1,11 @@
1
+--- a/src/server.c
2
++++ b/src/server.c
3
+@@ -48,7 +48,7 @@
4
+ #include <netdb.h>
5
+ #include <sys/socket.h>
6
+ #ifdef HAVE_POLL
7
+-#include <sys/poll.h>
8
++#include <poll.h>
9
+ #endif
10
+ #include <sys/un.h>
11
+ #include <arpa/inet.h>