summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index b03c1472..8fd9222b 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -1,3 +1,6 @@
+#ifndef RENDERCOPY_H
+#define RENDERCOPY_H
+
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
@@ -81,3 +84,5 @@ void gen2_render_copyfunc(struct intel_batchbuffer *batch,
struct scratch_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
+
+#endif /* RENDERCOPY_H */