aboutsummaryrefslogtreecommitdiffstats
path: root/community/lldpd/fix-ppc64le-pathmax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/lldpd/fix-ppc64le-pathmax.patch')
-rw-r--r--community/lldpd/fix-ppc64le-pathmax.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/lldpd/fix-ppc64le-pathmax.patch b/community/lldpd/fix-ppc64le-pathmax.patch
new file mode 100644
index 0000000000..0fe0f095f5
--- /dev/null
+++ b/community/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>