diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-25 14:08:42 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-25 14:08:42 +0000 |
commit | 8cd1015a318254ed62da5d765c2a9685a0064557 (patch) | |
tree | eb514a5a09d6998ed30141f92058f5e734e61058 | |
parent | ed12424ab322de481c1215f44393e7c77084f40d (diff) | |
download | network-manager-applet-8cd1015a318254ed62da5d765c2a9685a0064557.tar.gz |
Fix build with SELinux disabled
We always define the `WITH_SELINUX` pre-processor symbol inside
config.h, so we cannot use `ifdef`.
-rw-r--r-- | src/connection-editor/nm-connection-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c index ca74d12a..be211f2c 100644 --- a/src/connection-editor/nm-connection-editor.c +++ b/src/connection-editor/nm-connection-editor.c @@ -31,7 +31,7 @@ #include <errno.h> #include <gdk/gdkx.h> -#ifdef WITH_SELINUX +#if WITH_SELINUX #include <selinux/selinux.h> #endif @@ -183,7 +183,7 @@ update_sensitivity (NMConnectionEditor *editor) } } -#ifdef WITH_SELINUX +#if WITH_SELINUX /* This is what the files in ~/.cert would get. */ static const char certcon[] = "unconfined_u:object_r:home_cert_t:s0"; |