aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldpd/fix-ppc64le-pathmax.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-03-25 13:03:36 +0000
committerAndy Postnikov <apostnikov@gmail.com>2019-03-25 19:51:48 +0200
commit2fefd9b29269722094d7cd25aae06e5964f01189 (patch)
tree72b72732b306c18762946e44310232569ccabaeb /testing/lldpd/fix-ppc64le-pathmax.patch
parentf471769cf355474faec8d725de94e58b2f32af9b (diff)
downloadaports-2fefd9b29269722094d7cd25aae06e5964f01189.tar.gz
aports-2fefd9b29269722094d7cd25aae06e5964f01189.tar.bz2
aports-2fefd9b29269722094d7cd25aae06e5964f01189.tar.xz
testing/lldpd: fix ppc64le build break defining PATH_MAX
Diffstat (limited to 'testing/lldpd/fix-ppc64le-pathmax.patch')
-rw-r--r--testing/lldpd/fix-ppc64le-pathmax.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/lldpd/fix-ppc64le-pathmax.patch b/testing/lldpd/fix-ppc64le-pathmax.patch
new file mode 100644
index 0000000000..0fe0f095f5
--- /dev/null
+++ b/testing/lldpd/fix-ppc64le-pathmax.patch
@@ -0,0 +1,10 @@
+--- a/src/daemon/priv.c
++++ b/src/daemon/priv.c
+@@ -36,6 +36,7 @@
+ #include <sys/utsname.h>
+ #include <sys/ioctl.h>
+ #include <netinet/if_ether.h>
++#include <limits.h>
+
+ #ifdef HAVE_LINUX_CAPABILITIES
+ #include <sys/capability.h>