python/audit2allow: add #include <limits.h> to sepolgen-ifgen-attr-helper.c
I found that building on OpenWrt/musl failed with: sepolgen-ifgen-attr-helper.c:152:16: error: 'PATH_MAX' undeclared ... Musl is less "generous" than glibc in recursively including header files, and I suspect this is the reason for this error. Explicitly including limits.h fixes the problem. Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
parent
fbe1e526dc
commit
ccd973f721
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <selinux/selinux.h>
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Reference in New Issue