X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fapi.git;a=blobdiff_plain;f=input%2Finput.h;h=c4643543f6ae12a627d210090f6349d6091da6f0;hp=d7ceb4ac2066852bdab671771275c550649f63a1;hb=45ae0644d98c15489f99bab44a936d615dad5be2;hpb=d447707c9016284c7115e0ef3cc9431321056592 diff --git a/input/input.h b/input/input.h index d7ceb4a..c464354 100644 --- a/input/input.h +++ b/input/input.h @@ -4,6 +4,7 @@ #define INPUT_H /* includes */ +#define _GNU_SOURCE #include #include #include @@ -26,6 +27,7 @@ /* input specific variables */ typedef struct s_input { + int outfd; char *content; int c_count; unsigned char mode;