summaryrefslogtreecommitdiff
path: root/misc/mshell/files/patch-ag
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2007-04-14 12:17:55 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2007-04-14 12:17:55 +0000
commit6ec4d9369dd4f8b6164bd817742c51f7974e3304 (patch)
tree60772820e7116ae44f6f43fc7989c70248c7b096 /misc/mshell/files/patch-ag
parentUse <termios.h> instead of <sgtty.h> (diff)
Use <termios.h> instead of <sgtty.h>
PR: ports/110384 Submitted by: Ed Schouten <ed@fxq.nl>
Notes
Notes: svn path=/head/; revision=189950
Diffstat (limited to 'misc/mshell/files/patch-ag')
-rw-r--r--misc/mshell/files/patch-ag6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/mshell/files/patch-ag b/misc/mshell/files/patch-ag
index 3a538ac4e0b4..cd3d7a2b3a45 100644
--- a/misc/mshell/files/patch-ag
+++ b/misc/mshell/files/patch-ag
@@ -1,11 +1,13 @@
--- mshell.h.orig Sun Oct 20 16:15:25 2002
+++ mshell.h Sun Oct 20 16:14:30 2002
-@@ -5,7 +5,7 @@
+@@ -5,8 +5,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifdef BSD
-#include <sys/dir.h> /* accessing the directory structure */
+-#include <sgtty.h> /* struct for terminal attributes */
+#include <dirent.h> /* accessing the directory structure */
- #include <sgtty.h> /* struct for terminal attributes */
++#include <termios.h> /* struct for terminal attributes */
#endif
#ifdef SYSV
+ #define index strchr