OSDN Git Service

* include/objbase.h: Include rpc.h and rpcndr.h
authordannysmith <dannysmith>
Sun, 13 Oct 2002 03:11:57 +0000 (03:11 +0000)
committerdannysmith <dannysmith>
Sun, 13 Oct 2002 03:11:57 +0000 (03:11 +0000)
before header guard.

winsup/w32api/ChangeLog
winsup/w32api/include/objbase.h

index 28a668a..58d91f6 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-13  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/objbase.h: Include rpc.h and rpcndr.h
+       before header guard.
+
 2002-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/olectl.h (PROPPAGEINFO): Change type of
index a1b0e57..0af2b21 100644 (file)
@@ -1,11 +1,14 @@
+/* Include here to prevent circular dependencies if windows.h
+   not already included */
+#include <rpc.h>
+#include <rpcndr.h>
+
 #ifndef _OBJBASE_H
 #define _OBJBASE_H
 #if __GNUC__ >=3
 #pragma GCC system_header
 #endif
 
-#include <rpc.h>
-#include <rpcndr.h>
 #include <stdlib.h>
 #pragma pack(push,8)
 #include <basetyps.h>