editors/textedit: Add dragonfly support
This commit is contained in:
parent
9855368c87
commit
241f289904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342880
1 changed files with 23 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
--- System/Applications/Terminal/TerminalView.m.orig 2010-05-23 11:43:45.000000000 +0000
|
||||
+++ System/Applications/Terminal/TerminalView.m
|
||||
@@ -21,7 +21,7 @@ stupid but fast character cell display v
|
||||
# include <termios.h>
|
||||
# include <pcap.h>
|
||||
#else
|
||||
-#ifdef freebsd
|
||||
+#if defined(freebsd) || defined(__DragonFly__)
|
||||
# include <sys/types.h>
|
||||
# include <sys/ioctl.h>
|
||||
# include <termios.h>
|
||||
@@ -37,9 +37,11 @@ stupid but fast character cell display v
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef freebsd
|
||||
+# ifndef __DragonFly__
|
||||
#ifndef __NetBSD__
|
||||
# include <pty.h>
|
||||
#endif
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#include <Foundation/NSBundle.h>
|
Loading…
Reference in a new issue