summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glutstroke.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glutstroke.h')
-rw-r--r--src/glut/glx/glutstroke.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glut/glx/glutstroke.h b/src/glut/glx/glutstroke.h
index 74b60314aa2..d6eac7aa516 100644
--- a/src/glut/glx/glutstroke.h
+++ b/src/glut/glx/glutstroke.h
@@ -7,6 +7,10 @@
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#define GLUT_NO_LIB_PRAGMA /* Avoid auto library linking when building
+ the GLUT library itself. */
+#include <GL/glut.h>
+
#if defined(_MSC_VER)
#pragma warning (disable:4244) /* disable bogus conversion warnings */
#pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */