summary refs log tree commit diff
path: root/src/nm-auth-subject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-auth-subject.h')
-rw-r--r--src/nm-auth-subject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nm-auth-subject.h b/src/nm-auth-subject.h
index a9921dbd..a0b6d14b 100644
--- a/src/nm-auth-subject.h
+++ b/src/nm-auth-subject.h
@@ -68,6 +68,10 @@ gulong nm_auth_subject_get_unix_process_uid (NMAuthSubject *subject);
 
 const char *nm_auth_subject_to_string (NMAuthSubject *self, char *buf, gsize buf_len);
 
+#if WITH_POLKIT
+
 GVariant *  nm_auth_subject_unix_process_to_polkit_gvariant (NMAuthSubject *self);
 
+#endif
+
 #endif /* __NETWORKMANAGER_AUTH_SUBJECT_H__ */