diff options
author | Rob Landley <rob@landley.net> | 2015-01-16 13:43:09 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-01-16 13:43:09 -0600 |
commit | 3b915991f8c8648f939498777f4d76aad04f2817 (patch) | |
tree | 2a2c6ea74b5a6b37e13e0ce27c69a98f95a2e51e /lib/portability.h | |
parent | 7e2af1c7489cbf974a57d482bb9d23c884d2aa49 (diff) | |
download | toybox-3b915991f8c8648f939498777f4d76aad04f2817.tar.gz |
id.c #ifdefectomy. (ifdefs belong in headers, not in C code.)
Diffstat (limited to 'lib/portability.h')
-rw-r--r-- | lib/portability.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h index 67ac5b58..4097defa 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -239,4 +239,7 @@ pid_t xfork(void); #if CFG_TOYBOX_SELINUX #include <selinux/selinux.h> +#else +#define is_selinux_enabled() 0 +int getcon(void* con); #endif |