From 698e8095fa8d5b5b039168205dd24698b95dc6a6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 8 Feb 2011 05:35:04 +0100 Subject: use unistd.h before _POSIX_VERSION Signed-off-by: Denys Vlasenko --- include/libbb.h | 1 - include/platform.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 78b3906..d390e68 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -39,7 +39,6 @@ #include #include #include -#include #include #ifdef HAVE_MNTENT_H # include diff --git a/include/platform.h b/include/platform.h index f0b8ec1..00ebe56 100644 --- a/include/platform.h +++ b/include/platform.h @@ -362,6 +362,7 @@ typedef unsigned smalluint; #endif +#include #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__) # define fdprintf dprintf #endif -- cgit v1.1