[PATCH xorg-gtest 3/3] include: add inclusion guards to xorg-gtest.h

Peter Hutterer peter.hutterer at who-t.net
Mon Oct 15 20:22:06 PDT 2012


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/xorg/gtest/xorg-gtest.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/xorg/gtest/xorg-gtest.h b/include/xorg/gtest/xorg-gtest.h
index a61bc35..ccb3caa 100644
--- a/include/xorg/gtest/xorg-gtest.h
+++ b/include/xorg/gtest/xorg-gtest.h
@@ -25,6 +25,9 @@
  *
  ******************************************************************************/
 
+#ifndef __XORG_GTEST_H
+#define __XORG_GTEST_H
+
 #include "xorg-gtest-environment.h"
 #include "xorg-gtest-process.h"
 #include "xorg-gtest-xserver.h"
@@ -39,3 +42,5 @@
                "TESTCASE:\n" \
                message \
                "\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n");
+
+#endif
-- 
1.7.11.4



More information about the xorg-devel mailing list