bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diffutils 2.7.5 compile error


From: Uwe H. Steinfeld
Subject: diffutils 2.7.5 compile error
Date: Fri, 14 Dec 2001 21:04:34 +0100

On Cygwin diffutils 2.7.5 needs a patch like the following to compile.
Otherwise O_BINARY is undefined.

Uwe


diff -Nur ../diffutils-2.7.5/lib/setmode.c ./lib/setmode.c
--- ../diffutils-2.7.5/lib/setmode.c Tue Dec 11 08:14:24 2001
+++ ./lib/setmode.c Fri Dec 14 20:39:28 2001
@@ -37,6 +37,10 @@
 # include <unistd.h>
 #endif
 
+#if HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
+
 #include "setmode.h"
 #undef set_binary_mode
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]