s4:lib/messaging/*.h - fix compile warnings on gcc 3.4
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 5 Dec 2010 19:24:18 +0000 (20:24 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 5 Dec 2010 19:24:18 +0000 (20:24 +0100)
For example on OpenSolaris

source4/lib/messaging/irpc.h
source4/lib/messaging/messaging.h

index 52360218a595fa86e3cea907d89e7053aabf0c39..bdb1b8fedbff11f575b70a5a43b870827c513919 100644 (file)
@@ -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
index 274ba0b86d26859ef08b9b497cc499d02647639d..75990e3705af9237eeabf8cedc890b20063c6e92 100644 (file)
@@ -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