syncing between computers..
[systembsd.git] / src / main.c
index 2ff00fddfad06945dcf15802bfa0ecf0ddc8b4a8..c19b489c31633dea4c4a60cf041e8b8a23445971 100644 (file)
@@ -1,7 +1,12 @@
-#include "modules/hostnamed/hostnamed.c"
+#include <gio/gio.h>
+#include "interfaces/hostnamed/hostnamed.c"
 
 int main() {
+       GMainLoop *mloop = NULL;
+       
+       mloop = g_main_loop_new(NULL, FALSE);
        hostnamed_init();
-       for(;;) {}
+       g_main_loop_run(mloop);
+
        return 0;
 }