[PATCH xserver 5/5] mi: Add include guards to migc.h

Adam Jackson ajax at redhat.com
Thu Feb 16 18:03:31 UTC 2017


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 mi/migc.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mi/migc.h b/mi/migc.h
index 8d06a6f..add601a 100644
--- a/mi/migc.h
+++ b/mi/migc.h
@@ -26,6 +26,9 @@ from The Open Group.
 
 */
 
+#ifndef _MIGC_H
+#define _MIGC_H
+
 extern _X_EXPORT void miChangeGC(GCPtr          pGC,
                                  unsigned long  mask);
 
@@ -47,3 +50,5 @@ extern _X_EXPORT void miCopyGC(GCPtr            pGCSrc,
 
 extern _X_EXPORT void miComputeCompositeClip(GCPtr              pGC,
                                              DrawablePtr        pDrawable);
+
+#endif
-- 
2.9.3



More information about the xorg-devel mailing list