aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/fix-without-selinux.patch
blob: 0134cc0610a1e5f8154ef1e9108c175cb4b9e0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index ca74d12..be211f2 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";