summaryrefslogtreecommitdiff
path: root/src/glut/glx/glutint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glutint.h')
-rw-r--r--src/glut/glx/glutint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 6fe09ffe7e7..a962c780238 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -26,7 +26,10 @@
#include <GL/glx.h>
#endif
+#ifndef GLUT_BUILDING_LIB
#define GLUT_BUILDING_LIB /* Building the GLUT library itself. */
+#endif
+
#include <GL/glut.h>
#if defined(MESA) && defined(_WIN32) && !defined(__CYGWIN32__)