another bugfix
[my-code/api.git] / display / display.h
index 30e290c..d8bd546 100644 (file)
@@ -1,6 +1,7 @@
 /* display.h -- display headers */
 
 /* includes */
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -20,6 +21,7 @@
 
 /* display specific variables */
 typedef struct s_display {
+  int outfd;
   int max_x;
   int max_y;
   char *screen;