summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-03-04 22:37:13 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-03-27 18:05:33 +0000
commitb8991a555974aca798b5055960d1f5bd9397dd0f (patch)
tree31b2550f65e663f316370cc4eaeebb77a43855b4
parent2a10da59bf78bf6418b1947ed7ca0b5a0dfaa692 (diff)
hw/xwin: Add idempotency guard to glwindows.h
Add an idempotency guard to glwindows.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/glx/glwindows.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xwin/glx/glwindows.h b/hw/xwin/glx/glwindows.h
index 4f859b498..34ff24c24 100644
--- a/hw/xwin/glx/glwindows.h
+++ b/hw/xwin/glx/glwindows.h
@@ -28,6 +28,9 @@
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef GLWINDOWS_H
+#define GLWINDOWS_H
+
#include <GL/gl.h>
typedef struct {
@@ -53,3 +56,5 @@ int glWinSelectImplementation(int native);
#define GLWIN_TRACE_MSG(a, ...)
#define GLWIN_DEBUG_MSG(a, ...)
#endif
+
+#endif