summaryrefslogtreecommitdiff
path: root/cad/magic/files/patch-misc::magsgtty.h
blob: aea3925480472a7e6298616966879c43766fab2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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