← Commit list

698e8095f

Denys Vlasenko
Denys Vlasenko
2011-02-08
FAILED Duration: 231s

Subject

use unistd.h before _POSIX_VERSION

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/libbb.h+0 -1
@@ -39,7 +39,6 @@
#include <sys/wait.h>
#include <termios.h>
#include <time.h>
-#include <unistd.h>
#include <sys/param.h>
#ifdef HAVE_MNTENT_H
# include <mntent.h>
include/platform.h+1 -0
@@ -362,6 +362,7 @@ typedef unsigned smalluint;
#endif
+#include <unistd.h>
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
# define fdprintf dprintf
#endif