From 79bf4d84788ee41043bc1f6142fbb146de4d2bd7 Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 10 Mar 2022 15:00:15 +0000 Subject: changed a define and added a char* active for some reason --- src/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 #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; -- cgit v1.2.3