summaryrefslogtreecommitdiff
path: root/source4/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk')
-rw-r--r--source4/gtk/common/gtk-smb.c2
-rw-r--r--source4/gtk/common/gtk-smb.h1
-rw-r--r--source4/gtk/tools/gregedit.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c
index 3f818dae76..f5830cc8d7 100644
--- a/source4/gtk/common/gtk-smb.c
+++ b/source4/gtk/common/gtk-smb.c
@@ -23,6 +23,8 @@
#include "gtk/common/gtk-smb.h"
#include "gtk/common/select.h"
#include "version.h"
+#include "librpc/rpc/dcerpc.h"
+#include "auth/credentials/credentials.h"
void gtk_show_werror(GtkWidget *win, const char *message, WERROR err)
{
diff --git a/source4/gtk/common/gtk-smb.h b/source4/gtk/common/gtk-smb.h
index 98916d19ec..16dbfaf5d6 100644
--- a/source4/gtk/common/gtk-smb.h
+++ b/source4/gtk/common/gtk-smb.h
@@ -71,6 +71,7 @@ int gtk_event_loop(void);
struct event_context;
struct event_context *gtk_event_context(void);
+struct cli_credentials;
void cli_credentials_set_gtk_callbacks(struct cli_credentials *creds);
#endif
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 6a05b5ef0c..76c7dfa08a 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -21,8 +21,9 @@
#include "includes.h"
#include "lib/registry/registry.h"
-#include "lib/registry/reg_backend_rpc.h"
#include "gtk/common/gtk-smb.h"
+#include "lib/events/events.h"
+#include "lib/registry/reg_backend_rpc.h"
#include "auth/credentials/credentials.h"
static GtkTreeStore *store_keys;