sstp-client: fix musl compatibility

- Ship a `net/ppp_defs.h` replacement header since musl does not provide one
   but `pppd/pppd.h` provided by pppd is needing it.
 - Add missing `sys/types.h` includes

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2015-06-25 16:30:32 +02:00
parent 3788dd697b
commit 419637e17f
2 changed files with 36 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2014 OpenWrt.org
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -18,6 +18,8 @@ PKG_LICENSE=GPLv2
include $(INCLUDE_DIR)/package.mk
TARGET_CPPFLAGS += -I$(PKG_BUILD_DIR)/include
define Package/sstp-client
SECTION:=net
CATEGORY:=Network