projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use unistd.h before _POSIX_VERSION
[oweals/busybox.git]
/
include
/
platform.h
diff --git
a/include/platform.h
b/include/platform.h
index f0b8ec10ac6d128891df0b2eec2f1d29ed358610..00ebe563b07200b5d76b4d9700921255c0d77339 100644
(file)
--- a/
include/platform.h
+++ b/
include/platform.h
@@
-362,6
+362,7
@@
typedef unsigned smalluint;
#endif
+#include <unistd.h>
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
# define fdprintf dprintf
#endif