summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-25 22:55:15 -0700
committerVinson Lee <[email protected]>2010-08-25 22:55:15 -0700
commitc7111f321ca16f2c72cc59975b728a566daae95a (patch)
treeb4d60bfe10e671bee3af78ae12dce03fdbda2f9b /src/gallium
parentcc3e322d967e51a8c0fa794a310a93ee4b684a91 (diff)
util: Add include guard in u_split_prim.h.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_split_prim.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_split_prim.h b/src/gallium/auxiliary/util/u_split_prim.h
index 8af8a7e71d8..7f80fc12700 100644
--- a/src/gallium/auxiliary/util/u_split_prim.h
+++ b/src/gallium/auxiliary/util/u_split_prim.h
@@ -1,4 +1,8 @@
/* Originally written by Ben Skeggs for the nv50 driver*/
+
+#ifndef U_SPLIT_PRIM_H
+#define U_SPLIT_PRIM_H
+
#include "pipe/p_defines.h"
#include "pipe/p_compiler.h"
@@ -106,3 +110,5 @@ util_split_prim_next(struct util_split_prim *s, unsigned max_verts)
s->p_start += (max_verts - repeat);
return FALSE;
}
+
+#endif /* U_SPLIT_PRIM_H */