summaryrefslogtreecommitdiff
path: root/FL/gl2opengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'FL/gl2opengl.h')
-rw-r--r--FL/gl2opengl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/gl2opengl.h b/FL/gl2opengl.h
index 5ba1fef20..a22fd3df3 100644
--- a/FL/gl2opengl.h
+++ b/FL/gl2opengl.h
@@ -6,6 +6,9 @@
*/
+#ifndef _FL_gl2opengl_h_
+#define _FL_gl2opengl_h_
+
#include <FL/gl.h>
#include "gl_draw.H"
@@ -33,3 +36,5 @@ inline void recti(int x,int y,int r,int t) {gl_rect(x,y,r-x,t-y);}
inline void rectfi(int x,int y,int r,int t) {glRecti(x,y,r+1,t+1);}
inline void rects(int x,int y,int r,int t) {gl_rect(x,y,r-x,t-y);}
inline void rectfs(int x,int y,int r,int t) {glRects(x,y,r+1,t+1);}
+
+#endif /* _FL_gl2opengl_h_ */