package/ptpd2: Fix musl build
The autobuilders did not catch the error yet because they failed earlier with other packages, but I am continuing the build using the defconfig from: http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
65a4b9c01b
commit
347fb8f881
15
package/ptpd2/0001-musl.patch
Normal file
15
package/ptpd2/0001-musl.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Fix musl build
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr ptpd-ptpd-2.3.1.org/src/dep/net.c ptpd-ptpd-2.3.1/src/dep/net.c
|
||||
--- ptpd-ptpd-2.3.1.org/src/dep/net.c 2015-06-29 17:13:29.000000000 +0200
|
||||
+++ ptpd-ptpd-2.3.1/src/dep/net.c 2016-01-24 00:35:44.509860065 +0100
|
||||
@@ -82,7 +82,6 @@
|
||||
#ifdef SO_TIMESTAMPING
|
||||
#include <linux/net_tstamp.h>
|
||||
#include <linux/sockios.h>
|
||||
-#include <linux/ethtool.h>
|
||||
#endif /* SO_TIMESTAMPING */
|
||||
|
||||
/**
|
Loading…
Reference in New Issue
Block a user