From f05f660d9c4f18aa4702d723ed7b35f7053ce08c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 7 Mar 2012 19:04:50 -0600 Subject: Consolidate headers. --- lib/portability.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/portability.h b/lib/portability.h index d4edfb6d..0887d873 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -7,8 +7,13 @@ #undef _FORTIFY_SOURCE -// Humor glibc to get dprintf, then #define it to something more portable. -#define _GNU_SOURCE +#define _FILE_OFFSET_BITS 64 + +#define _POSIX_C_SOURCE 200809L +#define _XOPEN_SOURCE 600 +#define _BSD_SOURCE +#define _SVID_SOURCE + #include #define fdprintf(...) dprintf(__VA_ARGS__) -- cgit v1.2.3