diff options
author | Rob Landley <rob@landley.net> | 2012-03-07 19:04:50 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-03-07 19:04:50 -0600 |
commit | f05f660d9c4f18aa4702d723ed7b35f7053ce08c (patch) | |
tree | 3fdb1393a989873a0d6f5a92cb4851031ac6db6f /lib | |
parent | b7a4862fbf0df632837a53e230f4aa9cceb5f578 (diff) | |
download | toybox-f05f660d9c4f18aa4702d723ed7b35f7053ce08c.tar.gz |
Consolidate headers.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.h | 9 |
1 files changed, 7 insertions, 2 deletions
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 <stdio.h> #define fdprintf(...) dprintf(__VA_ARGS__) |