From eaf1a85f3fc348a904bd655ec4bead283c567e6d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 4 Feb 2008 19:43:52 +0000 Subject: Use termios.h instead of sgtty.h PR: 120049 Submitted by: Ed Schouten --- cad/magic/files/patch-misc::magsgtty.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cad/magic/files/patch-misc::magsgtty.h (limited to 'cad/magic/files/patch-misc::magsgtty.h') 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 ++#elif !defined(SYSV) && !defined(CYGWIN) + # ifdef ALPHA + # undef MAX + # undef MIN -- cgit v1.2.3