summaryrefslogtreecommitdiffstats
path: root/progs/glsl/texaaline.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/texaaline.c')
-rw-r--r--progs/glsl/texaaline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/glsl/texaaline.c b/progs/glsl/texaaline.c
index 7a5ac405bba..2e4f932ad60 100644
--- a/progs/glsl/texaaline.c
+++ b/progs/glsl/texaaline.c
@@ -14,6 +14,9 @@
#include <GL/glew.h>
#include <GL/glut.h>
+#ifndef M_PI
+#define M_PI 3.1415926535
+#endif
static GLint WinWidth = 300, WinHeight = 300;
static GLint win = 0;