[PATCH driver/ast 15/15] Add _AST_H_ define to ast.h

Egbert Eich eich at freedesktop.org
Thu Apr 24 10:37:03 PDT 2014


From: Egbert Eich <eich at suse.de>

---
 src/ast.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/ast.h b/src/ast.h
index 1bcb949..44239be 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -19,6 +19,10 @@
  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.
  */
+
+#ifndef _AST_H_
+# define _AST_H_
+
 /* Compiler Options */
 #define	Accel_2D
 /* #define MMIO_2D */
@@ -356,3 +360,5 @@ Bool ASTMapMem(ScrnInfoPtr pScrn);
 Bool ASTUnmapMem(ScrnInfoPtr pScrn);
 Bool ASTMapMMIO(ScrnInfoPtr pScrn);
 void ASTUnmapMMIO(ScrnInfoPtr pScrn);
+
+#endif /* _AST_H_ */
-- 
1.8.4.5



More information about the xorg-devel mailing list