freebsd-ports/cad/magic/files/patch-utils__magsgtty.h
Dennis Herrmann 22091d5b07 - Update to 7.5.213
PR:		ports/160086
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-09-04 11:45:29 +00:00

20 lines
429 B
C

--- ./utils/magsgtty.h.orig 2011-09-02 12:36:19.000000000 +0200
+++ ./utils/magsgtty.h 2011-09-02 12:39:00.000000000 +0200
@@ -21,14 +21,10 @@
#ifndef _MAGSGTTY_H
#define _MAGSGTTY_H
-#if !defined(SYSV) && !defined(CYGWIN)
-# ifdef ALPHA
-# undef MAX
-# undef MIN
-# endif
-#include <sgtty.h>
+#if defined(__FreeBSD__)
+#include <termios.h>
#else
-#include <termio.h>
+#include <sgtty.h>
#endif
#endif /* _MAGSGTTY_H */