]> hackdaworld.org Git - my-code/api.git/blobdiff - display/display.h
added timeout functionality
[my-code/api.git] / display / display.h
index 30e290cb16b98f8ce913a264f6fc1ff458df4e60..d8bd5460fd36b75aa6b5af1f5b06d29d5afd59b1 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;