Skip to content

Commit 87c7821

Browse files
committed
lib/audit_logging.h: fix includes for musl
`sys/types.h` is indirectly included with `glibc`, but needs to be specified explicitly on musl.
1 parent 1e19b77 commit 87c7821

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/audit_logging.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
// Next include is to pick up the function attribute macros
2727
#include <features.h>
28+
#include <sys/types.h>
2829
#include <audit-records.h>
2930

3031
#ifdef __cplusplus

0 commit comments

Comments
 (0)