diff options
author | Mike Sullivan <mksully22@gmail.com> | 2019-03-25 13:03:36 +0000 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-03-25 19:51:48 +0200 |
commit | 2fefd9b29269722094d7cd25aae06e5964f01189 (patch) | |
tree | 72b72732b306c18762946e44310232569ccabaeb /testing/lldpd/fix-ppc64le-pathmax.patch | |
parent | f471769cf355474faec8d725de94e58b2f32af9b (diff) | |
download | 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.patch | 10 |
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> |