diff options
author | 2015-09-26 09:36:37 -0400 | |
---|---|---|
committer | 2015-09-26 09:36:37 -0400 | |
commit | f917c4102c74254e683b74bc7800e8c3d3150804 (patch) | |
tree | 9f732379aba6b6e42318f09bdadc41ead897cfe5 /src | |
parent | Merge pull request #66 from wader/seccomp-errno (diff) | |
download | firejail-f917c4102c74254e683b74bc7800e8c3d3150804.tar.gz firejail-f917c4102c74254e683b74bc7800e8c3d3150804.tar.zst firejail-f917c4102c74254e683b74bc7800e8c3d3150804.zip |
seccomp errno - compile on Debian wheezy
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/errno.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firejail/errno.c b/src/firejail/errno.c index c6c5f8f6a..fd3ccf23b 100644 --- a/src/firejail/errno.c +++ b/src/firejail/errno.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #ifdef HAVE_SECCOMP | 21 | #ifdef HAVE_SECCOMP |
22 | #include "firejail.h" | 22 | #include "firejail.h" |
23 | #include <errno.h> | 23 | #include <errno.h> |
24 | #include <attr/xattr.h> | 24 | //#include <attr/xattr.h> |
25 | 25 | ||
26 | typedef struct { | 26 | typedef struct { |
27 | char *name; | 27 | char *name; |
@@ -166,7 +166,9 @@ static ErrnoEntry errnolist[] = { | |||
166 | "ERFKILL", ERFKILL, | 166 | "ERFKILL", ERFKILL, |
167 | "EHWPOISON", EHWPOISON, | 167 | "EHWPOISON", EHWPOISON, |
168 | "ENOTSUP", ENOTSUP, | 168 | "ENOTSUP", ENOTSUP, |
169 | #ifdef ENOATTR | ||
169 | "ENOATTR", ENOATTR, | 170 | "ENOATTR", ENOATTR, |
171 | #endif | ||
170 | }; | 172 | }; |
171 | 173 | ||
172 | int errno_highest_nr(void) { | 174 | int errno_highest_nr(void) { |