[PATCH] include: add include guard in d2dbasetypes.h

Biswapriyo Nath nathbappai at gmail.com
Fri Jun 5 02:11:09 CDT 2020


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200605/48d1d256/attachment.htm>
-------------- next part --------------
From 49043c6392fed44b0aed3f1d7c348963a87105dd Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Fri, 5 Jun 2020 12:39:09 +0530
Subject: [PATCH] include: add include guard in d2dbasetypes.h

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 include/d2dbasetypes.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/d2dbasetypes.h b/include/d2dbasetypes.h
index a160a89..93c99fc 100644
--- a/include/d2dbasetypes.h
+++ b/include/d2dbasetypes.h
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef _D2DBASETYPES_INCLUDED
+#define _D2DBASETYPES_INCLUDED
+
 #ifndef D3DCOLORVALUE_DEFINED
 typedef struct D3DCOLORVALUE
 {
@@ -56,3 +59,5 @@ typedef struct D2D_RECT_U
     UINT32 right;
     UINT32 bottom;
 } D2D_RECT_U;
+
+#endif /* _D2DBASETYPES_INCLUDED */
-- 
2.27.0



More information about the wine-devel mailing list