aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openscap/fix-ppc64le-path_max.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-05-02 22:16:35 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-05-02 22:16:35 +0000
commitcf05c2d05918e7af2cc49a0cb507b0613e5e2b36 (patch)
tree2a51e2ede5439c74e8d088d43bb0557f89eea4ec /testing/openscap/fix-ppc64le-path_max.patch
parent7bc5446db92045d221cce111232838068d3dd5e9 (diff)
downloadaports-cf05c2d05918e7af2cc49a0cb507b0613e5e2b36.tar.bz2
aports-cf05c2d05918e7af2cc49a0cb507b0613e5e2b36.tar.xz
testing/openscap: include limits.h for ppc64le
Diffstat (limited to 'testing/openscap/fix-ppc64le-path_max.patch')
-rw-r--r--testing/openscap/fix-ppc64le-path_max.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/openscap/fix-ppc64le-path_max.patch b/testing/openscap/fix-ppc64le-path_max.patch
index 1810966f06..5fd2981d87 100644
--- a/testing/openscap/fix-ppc64le-path_max.patch
+++ b/testing/openscap/fix-ppc64le-path_max.patch
@@ -20,3 +20,15 @@ index 95ef0a7..3ab2cb0 100644
#ifdef HAVE_PROC_DEVNAME_H
#include <proc/devname.h>
+diff --git a/src/OVAL/probes/independent/environmentvariable58_probe.c b/src/OVAL/probes/independent/environmentvariable58_probe.c
+index 552ce67..e2490ac 100644
+--- a/src/OVAL/probes/independent/environmentvariable58_probe.c
++++ b/src/OVAL/probes/independent/environmentvariable58_probe.c
+@@ -50,6 +50,7 @@
+ #include <fcntl.h>
+ #include <sys/types.h>
+ #include <dirent.h>
++#include <limits.h>
+
+ #include <probe/probe.h>
+ #include "_seap.h"