[PATCH] Replace sys/fcntl.h by POSIX compilant fcntl.h
Hi I tried to compile BIRD using musl libc, but it failed with a preprocessor message, that sys/fcntl.h was not found. See also: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html Regards Fritz --- sysdep/unix/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 4fee10e..fcf5dd1 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -17,10 +17,10 @@ #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> -#include <sys/fcntl.h> #include <sys/uio.h> #include <sys/un.h> #include <unistd.h> +#include <fcntl.h> #include <errno.h> #include <netinet/in.h> #include <netinet/icmp6.h> --
On Thu, Jul 18, 2013 at 09:46:04PM +0000, Fritz Grimpen wrote:
Hi
I tried to compile BIRD using musl libc, but it failed with a preprocessor message, that sys/fcntl.h was not found. See also: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
Thanks, applied. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Fritz Grimpen -
Ondrej Zajicek