use unistd.h before _POSIX_VERSION
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -362,6 +362,7 @@ typedef unsigned smalluint;
|
||||
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
|
||||
# define fdprintf dprintf
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user