summaryrefslogtreecommitdiff
path: root/progs/xdemos
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos')
-rw-r--r--progs/xdemos/corender.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/xdemos/corender.c b/progs/xdemos/corender.c
index 02e4ac0216..f2b8145e52 100644
--- a/progs/xdemos/corender.c
+++ b/progs/xdemos/corender.c
@@ -26,6 +26,10 @@
#include "ipc.h"
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
static int MyID = 0; /* 0 or 1 */
static int WindowID = 0;
static GLXContext Context = 0;