Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-10-13 07:11:58 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-10-13 07:11:58 +0400
commit5cafa3aa1a57a1c1931b8df90ecb0aca91b1eb6d (patch)
tree088539b732bb03862af514528b89929305404877
parent95a962432fa9832f145cfbb177ebcafc3c4a3a43 (diff)
* include/objbase.h: Include rpc.h and rpcndr.h
before header guard.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/objbase.h7
2 files changed, 10 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 28a668a03..58d91f630 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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
diff --git a/winsup/w32api/include/objbase.h b/winsup/w32api/include/objbase.h
index a1b0e571d..0af2b2181 100644
--- a/winsup/w32api/include/objbase.h
+++ b/winsup/w32api/include/objbase.h
@@ -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>