summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 7d8e5ab..470fe66 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _POSIX_C_SOURCE 200809L //for fileno and strdup
#include <string.h>
#include "config.h"
#include "math.h"
@@ -116,6 +116,7 @@ struct hvr_global {
int periodic_output;//if false, we output commands from keypresses as they're being sent to the command interpreter. if true we output every value amount of time. miliseconds probably.
real mmz;
int lps;//loops per second. same as frame per second but also works for headless.
+ char *active;
struct c3_shape *shape[SHAPES];
int shapes;
struct hashtable ht_group;