Let RPC API work with or without windows.h.

* include/rpc.h: Conditionally include <windows.h> before
	header guard.
	* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
	header guard.
This commit is contained in:
Danny Smith
2002-07-04 08:29:56 +00:00
parent 3368050f8f
commit 875beea460
3 changed files with 15 additions and 3 deletions

View File

@ -1,12 +1,13 @@
#ifndef RPC_NO_WINDOWS_H
#include <windows.h>
#endif
#ifndef _RPC_H
#define _RPC_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifndef RPC_NO_WINDOWS_H
#include <windows.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif