Added missing include directives

Francois Gouget fgouget at free.fr
Sun May 6 21:10:11 CDT 2001


 - guiddef.h: we need string.h in C++ because we use memcmp in an inline
function
 - objbase.h: we need wine/obj_base.h in case the application includes
objbase.h directly.


Changelog:

 * include/guiddef.h,
   include/objbase.h

   Added missing include directives

--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
              Linux: Because rebooting is for adding new hardware
-------------- next part --------------
Index: include/guiddef.h
===================================================================
RCS file: /home/wine/wine/include/guiddef.h,v
retrieving revision 1.2
diff -u -r1.2 guiddef.h
--- include/guiddef.h	2000/08/11 00:39:26	1.2
+++ include/guiddef.h	2001/05/07 01:47:36
@@ -52,6 +52,7 @@
 #define IsEqualCLSID(rclsid1, rclsid2) IsEqualGUID(rclsid1, rclsid2)
 
 #if defined(__cplusplus) && !defined(CINTERFACE)
+#include <string.h>
 inline bool operator==(const GUID& guidOne, const GUID& guidOther)
 {
     return !memcmp(&guidOne,&guidOther,sizeof(GUID));
Index: include/objbase.h
===================================================================
RCS file: /home/wine/wine/include/objbase.h,v
retrieving revision 1.19
diff -u -r1.19 objbase.h
--- include/objbase.h	2001/04/12 21:10:54	1.19
+++ include/objbase.h	2001/05/07 01:47:36
@@ -6,6 +6,7 @@
 #include "unknwn.h"
 
 /* the following depend only on obj_base.h */
+#include "wine/obj_base.h"
 #include "wine/obj_misc.h"
 #include "wine/obj_channel.h"
 #include "wine/obj_clientserver.h"


More information about the wine-patches mailing list