aboutsummaryrefslogtreecommitdiff
path: root/examples/tablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tablet.c')
-rw-r--r--examples/tablet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tablet.c b/examples/tablet.c
index c97cafe4..7e9116a8 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -1,4 +1,5 @@
-#define _XOPEN_SOURCE 600
+#undef _POSIX_C_SOURCE
+#define _XOPEN_SOURCE 600 // for M_PI
#include <math.h>
#include <stdio.h>
#include <stdlib.h>