summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwcrontab.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools/gwcrontab.c')
-rw-r--r--source4/gtk/tools/gwcrontab.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c
index f294e84392..9ebc7f43fd 100644
--- a/source4/gtk/tools/gwcrontab.c
+++ b/source4/gtk/tools/gwcrontab.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_atsvc.h"
#include "gtk/common/gtk-smb.h"
-#include "smb_build.h"
static struct dcerpc_pipe *at_pipe = NULL;
static GtkWidget *mainwin;
@@ -489,10 +488,9 @@ static GtkWidget*create_new_job_dialog (void)
}
-
- int main(int argc, char **argv)
+int main(int argc, char **argv)
{
- gwcrontab_init_subsystems;
+ dcerpc_init();
lp_load();
setup_logging(argv[0], DEBUG_STDERR);