aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libbb.h1
-rw-r--r--include/platform.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 78b390611..d390e6840 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -39,7 +39,6 @@
39#include <sys/wait.h> 39#include <sys/wait.h>
40#include <termios.h> 40#include <termios.h>
41#include <time.h> 41#include <time.h>
42#include <unistd.h>
43#include <sys/param.h> 42#include <sys/param.h>
44#ifdef HAVE_MNTENT_H 43#ifdef HAVE_MNTENT_H
45# include <mntent.h> 44# include <mntent.h>
diff --git a/include/platform.h b/include/platform.h
index f0b8ec10a..00ebe563b 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -362,6 +362,7 @@ typedef unsigned smalluint;
362 362
363#endif 363#endif
364 364
365#include <unistd.h>
365#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__) 366#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
366# define fdprintf dprintf 367# define fdprintf dprintf
367#endif 368#endif