at 16.09-beta 72 lines 2.5 kB view raw
1diff --git a/Makefile b/Makefile 2index dde9f81..5af7cab 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -34,7 +34,6 @@ install: all 6 -mkdir -pv $(DESTDIR)/sbin 7 install -m 755 mstpd $(DESTDIR)/sbin/mstpd 8 install -m 755 mstpctl $(DESTDIR)/sbin/mstpctl 9- install -m 755 bridge-stp /sbin/bridge-stp 10 -mkdir -pv $(DESTDIR)/lib/mstpctl-utils/ 11 cp -rv lib/* $(DESTDIR)/lib/mstpctl-utils/ 12 gzip -f $(DESTDIR)/lib/mstpctl-utils/mstpctl.8 13@@ -42,8 +41,9 @@ install: all 14 if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-pre-up.d/mstpctl ; fi 15 if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-post-down.d/mstpctl ; fi 16 if [ -d $(DESTDIR)/etc/bash_completion.d ] ; then ln -sf /lib/mstpctl-utils/bash_completion $(DESTDIR)/etc/bash_completion.d/mstpctl ; fi 17- ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/usr/share/man/man8/mstpctl.8.gz 18- ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/usr/share/man/man5/mstpctl-utils-interfaces.5.gz 19+ mkdir -p $(DESTDIR)/share/man/man8 $(DESTDIR)/share/man/man5 20+ ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/share/man/man8/mstpctl.8.gz 21+ ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/share/man/man5/mstpctl-utils-interfaces.5.gz 22 23 romfs: all 24 $(ROMFSINST) /sbin/mstpd 25diff --git a/bridge_track.c b/bridge_track.c 26index c92fdf6..0c01aec 100644 27--- a/bridge_track.c 28+++ b/bridge_track.c 29@@ -28,6 +28,7 @@ 30 #include <unistd.h> 31 #include <fcntl.h> 32 #include <linux/param.h> 33+#include <linux/in6.h> 34 #include <linux/if_bridge.h> 35 #include <asm/byteorder.h> 36 37diff --git a/broadcom_xstrata/driver_deps.c b/broadcom_xstrata/driver_deps.c 38index e72e9e3..5194253 100644 39--- a/broadcom_xstrata/driver_deps.c 40+++ b/broadcom_xstrata/driver_deps.c 41@@ -14,6 +14,7 @@ 42 #include <unistd.h> 43 #include <fcntl.h> 44 #include <asm/byteorder.h> 45+#include <linux/in6.h> 46 #include <linux/if_bridge.h> 47 48 #include "log.h" 49diff --git a/ctl_functions.h b/ctl_functions.h 50index 9c3b914..df464de 100644 51--- a/ctl_functions.h 52+++ b/ctl_functions.h 53@@ -27,6 +27,7 @@ 54 #ifndef CTL_SOCKET_H 55 #define CTL_SOCKET_H 56 57+#include <linux/in6.h> 58 #include <linux/if_bridge.h> 59 #include <asm/byteorder.h> 60 61diff --git a/mstp.c b/mstp.c 62index 1c6a2df..b2a1acd 100644 63--- a/mstp.c 64+++ b/mstp.c 65@@ -37,6 +37,7 @@ 66 67 #include <string.h> 68 #include <sys/time.h> 69+#include <linux/in6.h> 70 #include <linux/if_bridge.h> 71 #include <asm/byteorder.h> 72