summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-05 20:24:18 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-05 20:24:18 +0100
commit67318d18c12a22057fb0cc8cf84372c20897a92d (patch)
tree081b5a261d595e7ae37718e764327e1b067be27c /source4
parent889793566089a618bdce0279af580e42fcc70275 (diff)
downloadsamba-67318d18c12a22057fb0cc8cf84372c20897a92d.tar.gz
samba-67318d18c12a22057fb0cc8cf84372c20897a92d.tar.bz2
samba-67318d18c12a22057fb0cc8cf84372c20897a92d.zip
s4:lib/messaging/*.h - fix compile warnings on gcc 3.4
For example on OpenSolaris
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/messaging/irpc.h1
-rw-r--r--source4/lib/messaging/messaging.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h
index 52360218a5..bdb1b8fedb 100644
--- a/source4/lib/messaging/irpc.h
+++ b/source4/lib/messaging/irpc.h
@@ -24,7 +24,6 @@
#include "lib/messaging/messaging.h"
#include "librpc/gen_ndr/irpc.h"
-#include "librpc/gen_ndr/server_id.h"
/*
an incoming irpc message
diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h
index 274ba0b86d..75990e3705 100644
--- a/source4/lib/messaging/messaging.h
+++ b/source4/lib/messaging/messaging.h
@@ -21,9 +21,9 @@
#ifndef _MESSAGES_H_
#define _MESSAGES_H_
-struct messaging_context;
-struct server_id;
+#include "librpc/gen_ndr/server_id.h"
+struct messaging_context;
/* general messages */
#define MSG_DEBUG 1