summaryrefslogtreecommitdiff
path: root/cad/magic/files/patch-misc::magsgtty.h
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-04 19:43:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-04 19:43:52 +0000
commiteaf1a85f3fc348a904bd655ec4bead283c567e6d (patch)
tree1c6964cc51e42b61fc918b34ac9d1fe81f5aa433 /cad/magic/files/patch-misc::magsgtty.h
parent- Update to 1.0.8 (diff)
Use termios.h instead of sgtty.h
PR: 120049 Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'cad/magic/files/patch-misc::magsgtty.h')
-rw-r--r--cad/magic/files/patch-misc::magsgtty.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/magic/files/patch-misc::magsgtty.h b/cad/magic/files/patch-misc::magsgtty.h
new file mode 100644
index 000000000000..aea392548047
--- /dev/null
+++ b/cad/magic/files/patch-misc::magsgtty.h
@@ -0,0 +1,13 @@
+--- misc/magsgtty.h 2001-09-21 17:15:45.000000000 +0200
++++ misc/magsgtty.h 2008-02-04 19:28:46.000000000 +0100
+@@ -20,7 +20,9 @@
+
+ #ifndef _MAGSGTTY
+
+-#if !defined(SYSV) && !defined(CYGWIN)
++#ifdef __FreeBSD__
++#include <termios.h>
++#elif !defined(SYSV) && !defined(CYGWIN)
+ # ifdef ALPHA
+ # undef MAX
+ # undef MIN