|
|
@@ -0,0 +1,59 @@
|
|
|
+--- ckutio.c.orig 2004-06-01 12:20:41.000000000 +0200
|
|
|
++++ ckutio.c 2004-06-01 12:22:13.000000000 +0200
|
|
|
+@@ -301,6 +301,28 @@
|
|
|
+ #include <sys/stat.h>
|
|
|
+ #endif /* CIE */
|
|
|
+
|
|
|
++/* Whether to include <fcntl.h> */
|
|
|
++/* we should define open() before usage (baudboy.h) */
|
|
|
++
|
|
|
++#ifndef is68k /* Only a few don't have this one. */
|
|
|
++#ifndef BSD41
|
|
|
++#ifndef FT21
|
|
|
++#ifndef FT18
|
|
|
++#ifndef COHERENT
|
|
|
++#include <fcntl.h>
|
|
|
++#endif /* COHERENT */
|
|
|
++#endif /* FT18 */
|
|
|
++#endif /* FT21 */
|
|
|
++#endif /* BSD41 */
|
|
|
++#endif /* not is68k */
|
|
|
++
|
|
|
++#ifdef COHERENT
|
|
|
++#ifdef _I386
|
|
|
++#include <fcntl.h>
|
|
|
++#else
|
|
|
++#include <sys/fcntl.h>
|
|
|
++#endif /* _I386 */
|
|
|
++#endif /* COHERENT */
|
|
|
+ /* UUCP lockfile material... */
|
|
|
+
|
|
|
+ #ifndef NOUUCP
|
|
|
+@@ -779,27 +801,6 @@
|
|
|
+ #endif /* FIONREAD */
|
|
|
+ #endif /* XENIX */
|
|
|
+
|
|
|
+-/* Whether to include <fcntl.h> */
|
|
|
+-
|
|
|
+-#ifndef is68k /* Only a few don't have this one. */
|
|
|
+-#ifndef BSD41
|
|
|
+-#ifndef FT21
|
|
|
+-#ifndef FT18
|
|
|
+-#ifndef COHERENT
|
|
|
+-#include <fcntl.h>
|
|
|
+-#endif /* COHERENT */
|
|
|
+-#endif /* FT18 */
|
|
|
+-#endif /* FT21 */
|
|
|
+-#endif /* BSD41 */
|
|
|
+-#endif /* not is68k */
|
|
|
+-
|
|
|
+-#ifdef COHERENT
|
|
|
+-#ifdef _I386
|
|
|
+-#include <fcntl.h>
|
|
|
+-#else
|
|
|
+-#include <sys/fcntl.h>
|
|
|
+-#endif /* _I386 */
|
|
|
+-#endif /* COHERENT */
|
|
|
+
|
|
|
+ #ifdef ATT7300 /* Unix PC, internal modem dialer */
|
|
|
+ #include <sys/phone.h>
|