freebsd-ports/cad/magic/files/patch-misc::magsgtty.h
Martin Wilke eaf1a85f3f Use termios.h instead of sgtty.h
PR:		120049
Submitted by:	Ed Schouten <ed@fxq.nl>
2008-02-04 19:43:52 +00:00

13 lines
318 B
C

--- 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