aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/130-no_cdefs_h.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-20 13:51:36 +0000
commit7fa3fe6741b08fb26058e92a43dfd9d3798d102a (patch)
treea1e3e513ee443172b8936c89c1df1a09c21497fa /package/network/services/ppp/patches/130-no_cdefs_h.patch
parent0f474633e146b30c1775d15ced6bdf8529b16863 (diff)
downloadupstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.gz
upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.tar.bz2
upstream-7fa3fe6741b08fb26058e92a43dfd9d3798d102a.zip
pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39963
Diffstat (limited to 'package/network/services/ppp/patches/130-no_cdefs_h.patch')
-rw-r--r--package/network/services/ppp/patches/130-no_cdefs_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/ppp/patches/130-no_cdefs_h.patch b/package/network/services/ppp/patches/130-no_cdefs_h.patch
new file mode 100644
index 0000000000..caa892ec6b
--- /dev/null
+++ b/package/network/services/ppp/patches/130-no_cdefs_h.patch
@@ -0,0 +1,11 @@
+--- a/pppd/plugins/rp-pppoe/config.h
++++ b/pppd/plugins/rp-pppoe/config.h
+@@ -102,7 +102,7 @@
+ #define HAVE_NETPACKET_PACKET_H 1
+
+ /* Define if you have the <sys/cdefs.h> header file. */
+-#define HAVE_SYS_CDEFS_H 1
++/* #undef HAVE_SYS_CDEFS_H */
+
+ /* Define if you have the <sys/dlpi.h> header file. */
+ /* #undef HAVE_SYS_DLPI_H */