]> git.wh0rd.org Git - home.git/commitdiff
test: add LFS settings
authorMike Frysinger <vapier@gentoo.org>
Wed, 31 Mar 2021 03:26:01 +0000 (23:26 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 31 Mar 2021 03:26:01 +0000 (23:26 -0400)
test.c

diff --git a/test.c b/test.c
index 45d61247dea843dd717cbe2b03ce43b32cc65fb2..e58a769f0ae68bcd04689fe6ea1287205af4b742 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1,6 +1,9 @@
 /* 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>