46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
--- sattrack/sattrack.c.orig Tue Jan 14 00:06:10 1997
|
|
+++ sattrack/sattrack.c Sat Jan 22 23:37:22 2000
|
|
@@ -2081,12 +2081,12 @@
|
|
memcpy((char *)&modified,(char *)&original,sizeof(struct termios));
|
|
#endif
|
|
|
|
-#ifdef FREEBSD
|
|
+#if defined(FREEBSD) || defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TIOCGETA,&original);
|
|
memcpy((char *)&modified,(char *)&original,sizeof(struct termios));
|
|
#endif
|
|
|
|
-#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD))
|
|
+#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD)) && !defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TCGETS,&original);
|
|
memcpy((char *)&modified,(char *)&original,sizeof(struct termios));
|
|
#endif
|
|
@@ -2114,11 +2114,11 @@
|
|
ioctl(STDIN_FILENO,XCSETA,&modified);
|
|
#endif
|
|
|
|
-#ifdef FREEBSD
|
|
+#if defined(FREEBSD) || defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TIOCSETA,&modified);
|
|
#endif
|
|
|
|
-#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD))
|
|
+#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD)) && !defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TCSETS,&modified);
|
|
#endif
|
|
|
|
@@ -2138,11 +2138,11 @@
|
|
ioctl(STDIN_FILENO,XCSETA,&original);
|
|
#endif
|
|
|
|
-#ifdef FREEBSD
|
|
+#if defined(FREEBSD) || defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TIOCSETA,&original);
|
|
#endif
|
|
|
|
-#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD))
|
|
+#if (!defined(HPUX) && !defined(SCOV5) && !defined(FREEBSD)) && !defined(__OpenBSD__)
|
|
ioctl(STDIN_FILENO,TCSETS,&original);
|
|
#endif
|
|
|