aboutsummaryrefslogtreecommitdiffstats
path: root/cad/magic/files/patch-misc::magsgtty.h
diff options
context:
space:
mode:
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