aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libbb.h3
-rw-r--r--include/platform.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6358e654a..dd82e9754 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -33,6 +33,9 @@
33#include <sys/stat.h> 33#include <sys/stat.h>
34#include <sys/time.h> 34#include <sys/time.h>
35#include <sys/types.h> 35#include <sys/types.h>
36#ifndef major
37# include <sys/sysmacros.h>
38#endif
36#include <sys/wait.h> 39#include <sys/wait.h>
37#include <termios.h> 40#include <termios.h>
38#include <time.h> 41#include <time.h>
diff --git a/include/platform.h b/include/platform.h
index 9d6e21626..f0b8ec10a 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -362,7 +362,7 @@ typedef unsigned smalluint;
362 362
363#endif 363#endif
364 364
365#if defined(__GLIBC__) 365#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
366# define fdprintf dprintf 366# define fdprintf dprintf
367#endif 367#endif
368 368