diff options
author | 2018-03-21 07:31:42 -0500 | |
---|---|---|
committer | 2018-03-21 07:31:42 -0500 | |
commit | e27481169f485d624d9bd0a900f711762a00a171 (patch) | |
tree | 704a7e60054d48147e3e89d62070b2068d2bcb76 /src/libtrace/libtrace.c | |
parent | Misc profile hardening and fixes (diff) | |
parent | Update libtrace.c (diff) | |
download | firejail-e27481169f485d624d9bd0a900f711762a00a171.tar.gz firejail-e27481169f485d624d9bd0a900f711762a00a171.tar.zst firejail-e27481169f485d624d9bd0a900f711762a00a171.zip |
Merge pull request #1820 from g3ngr33n/master
Fix compilation with musl
Diffstat (limited to 'src/libtrace/libtrace.c')
-rw-r--r-- | src/libtrace/libtrace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtrace/libtrace.c b/src/libtrace/libtrace.c index 01e8645c7..151362ee1 100644 --- a/src/libtrace/libtrace.c +++ b/src/libtrace/libtrace.c | |||
@@ -30,7 +30,9 @@ | |||
30 | #include <arpa/inet.h> | 30 | #include <arpa/inet.h> |
31 | #include <sys/un.h> | 31 | #include <sys/un.h> |
32 | #include <sys/stat.h> | 32 | #include <sys/stat.h> |
33 | #include <dirent.h> | 33 | #include <syslog.h> |
34 | #include <dirent.h> | ||
35 | #include <limits.h> | ||
34 | 36 | ||
35 | // break recursivity on fopen call | 37 | // break recursivity on fopen call |
36 | typedef FILE *(*orig_fopen_t)(const char *pathname, const char *mode); | 38 | typedef FILE *(*orig_fopen_t)(const char *pathname, const char *mode); |