diff mbox

[1/5] sestatus: include limits.h for PATH_MAX

Message ID 20180517051117.48454-2-jason@perfinion.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jason Zaman May 17, 2018, 5:11 a.m. UTC
compile fails on musl libc because it cant find PATH_MAX.

Signed-off-by: Jason Zaman <jason@perfinion.com>
---
 policycoreutils/sestatus/sestatus.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/policycoreutils/sestatus/sestatus.c b/policycoreutils/sestatus/sestatus.c
index 9a92e72f..b37f0353 100644
--- a/policycoreutils/sestatus/sestatus.c
+++ b/policycoreutils/sestatus/sestatus.c
@@ -17,6 +17,7 @@ 
 #include <unistd.h>
 #include <libgen.h>
 #include <ctype.h>
+#include <limits.h>
 
 #define PROC_BASE "/proc"
 #define MAX_CHECK 50