diff options
author | 2021-09-27 21:52:56 +0300 | |
---|---|---|
committer | 2021-09-27 21:52:56 +0300 | |
commit | 5805c1c8fd440b69a96bd9e205c09a178a13e6ba (patch) | |
tree | 887d5e5c8ed6fa361915a63db1562eca57dcc961 /src | |
parent | Merge pull request #4575 from a1346054/whitespace-fix (diff) | |
download | firejail-5805c1c8fd440b69a96bd9e205c09a178a13e6ba.tar.gz firejail-5805c1c8fd440b69a96bd9e205c09a178a13e6ba.tar.zst firejail-5805c1c8fd440b69a96bd9e205c09a178a13e6ba.zip |
fix compilation on musl (#4578)
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/env.c | 1 | ||||
-rw-r--r-- | src/firejail/main.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c index ad16de037..4c0d729a1 100644 --- a/src/firejail/env.c +++ b/src/firejail/env.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <sys/stat.h> | 22 | #include <sys/stat.h> |
23 | #include <unistd.h> | 23 | #include <unistd.h> |
24 | #include <dirent.h> | 24 | #include <dirent.h> |
25 | #include <limits.h> | ||
25 | 26 | ||
26 | typedef struct env_t { | 27 | typedef struct env_t { |
27 | struct env_t *next; | 28 | struct env_t *next; |
diff --git a/src/firejail/main.c b/src/firejail/main.c index 81d148257..2db17f4af 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <dirent.h> | 32 | #include <dirent.h> |
33 | #include <pwd.h> | 33 | #include <pwd.h> |
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | //#include <limits.h> | 35 | #include <limits.h> |
36 | #include <sys/file.h> | 36 | #include <sys/file.h> |
37 | #include <sys/prctl.h> | 37 | #include <sys/prctl.h> |
38 | #include <signal.h> | 38 | #include <signal.h> |