]> git.wh0rd.org - home.git/blobdiff - test.c
gitignore: add more
[home.git] / test.c
diff --git a/test.c b/test.c
index d2a5f6182c6e36deab0f5af623c20929e2937f97..e58a769f0ae68bcd04689fe6ea1287205af4b742 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1,7 +1,11 @@
 /* Test module for quick hacking. */
 
 #define _GNU_SOURCE
+#define _LARGEFILE_SOURCE
+#define _LARGEFILE64_SOURCE
+#define _FILE_OFFSET_BITS 64
 
+#include <termios.h>
 #include <assert.h>
 #include <dirent.h>
 #include <elf.h>
@@ -9,6 +13,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <float.h>
+#include <getopt.h>
 #include <inttypes.h>
 #include <langinfo.h>
 #include <limits.h>
@@ -16,6 +21,7 @@
 #include <pthread.h>
 #include <regex.h>
 #include <signal.h>
+#include <stdarg.h>
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
@@ -31,6 +37,7 @@
 
 #include <sys/auxv.h>
 #include <sys/epoll.h>
+#include <sys/mman.h>
 #include <sys/mount.h>
 #include <sys/prctl.h>
 #include <sys/signalfd.h>