提交 b3ebe49d 编写于 作者: R Rosen Penev

mcproxy: Fix compilation with uClibc-ng

uClibc-ng also defines __GLIBC__, which messes up the check.
Signed-off-by: NRosen Penev <rosenp@gmail.com>
上级 e8799fb2
......@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mcproxy
PKG_SOURCE_VERSION:=93b5ace42268160ebbfff4c61818fb15fa2d9b99
PKG_VERSION:=2017-08-24-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mcproxy/mcproxy.git
......
......@@ -4,7 +4,7 @@
#include <numeric>
#include <unistd.h>
+#ifndef __GLIBC__
+#if !defined(__GLIBC__) || defined(__UCLIBC__)
+#include "sourcefilter.cpp"
+#endif /* __GLIBC__ */
+
......
......@@ -3,7 +3,7 @@
@@ -38,6 +38,8 @@
#include <unistd.h>
#ifndef __GLIBC__
#if !defined(__GLIBC__) || defined(__UCLIBC__)
+#define IP_MULTICAST_ALL 49
+
#include "sourcefilter.cpp"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册