summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2014-04-22 17:09:42 +0200
committerEgbert Eich <eich@freedesktop.org>2014-04-30 17:27:38 +0200
commit94640946015eb6611ff9bf8daf49e10479351fac (patch)
treee97d77a34edd77188c53c995c93647dbd1a7ac28
parent364364910d1cc9be67120b8d28ab79abd82dbf04 (diff)
Add _AST_H_ define to ast.h
Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
-rw-r--r--src/ast.h6
1 files changed, 6 insertions, 0 deletions
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_ */