add polkit auth object, compile it in makefile, add header to interfaces
[systembsd.git] / src / interfaces / hostnamed / hostnamed.c
index b10b4b767b63abd19cbcd61922287ad7b4fe4c3e..574357de08484c2fdfa7a1cd7858b05706ac9a0e 100644 (file)
@@ -34,6 +34,8 @@
 #include "hostnamed-gen.h"
 #include "hostnamed.h"
 
+#include "../../polkit-auth.h"
+
 /* format: {
  *           (1) string to be matched against runtime machine's sysctl output.
  *               can be either the exact string or a substring contained
@@ -403,6 +405,8 @@ int main() {
     CHASSIS = ICON = OS_CPENAME = 0;
     KERN_NAME = KERN_RELEASE = KERN_VERS = 0;
     HOSTNAME = STATIC_HOSTNAME = PRETTY_HOSTNAME = NULL;
+
+    test_func();
  
     set_signal_handlers();