diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-01-03 21:03:39 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-01-03 21:03:39 +0000 |
commit | 92118f7e6c6d6a6c42745a94d174d11aacfc6e12 (patch) | |
tree | fa81459281400d34918d6d89f608508f7de4d3bf | |
parent | - Remove inclusion of sgtty (diff) |
The prodosemu port includes the sgtty header file, but doesn't do
anything with it. This is bad habit, especially because the sgtty.h is a
deprecated header file, which describes an interface that's only present
when COMPAT_43TTY is present in the kernel.
There's no real harm in this case, but say, we want to remove this
header file, it will cause compilation to fail.
PR: 119101
Submitted by: Ed Schouten <ed@fxq.nl>
Notes
Notes:
svn path=/head/; revision=204951
-rw-r--r-- | emulators/prodosemu/files/patch-ab | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/emulators/prodosemu/files/patch-ab b/emulators/prodosemu/files/patch-ab index fa7e24e8d6e6..27e9049a30a4 100644 --- a/emulators/prodosemu/files/patch-ab +++ b/emulators/prodosemu/files/patch-ab @@ -1,12 +1,18 @@ --- apple.h.orig Tue Jan 9 13:00:03 1996 +++ apple.h Tue Aug 15 20:34:22 2000 -@@ -18,8 +18,7 @@ +@@ -17,15 +17,6 @@ + #include <ctype.h> #endif - #ifndef CBREAK +-#ifndef CBREAK -/*#include <sgtty.h>*/ -#include <bsd/sgtty.h> -+#include <sgtty.h> +-#endif +- +-#ifndef TIOCGETP +-#include <sys/ioctl.h> +-#endif +- + #ifndef O_NDELAY + #include <fcntl.h> #endif - - #ifndef TIOCGETP |