blob: 3d1542f1cce73f2e7eb9a7069c981aa1c1d9353c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- bbs.h.orig 2009-10-06 23:10:03.000000000 +0800
+++ bbs.h 2009-10-06 23:14:01.000000000 +0800
@@ -12,6 +12,7 @@
#define BIT8
#include <stdio.h>
+#include <stdlib.h>
#include <setjmp.h>
#include <signal.h>
#include <unistd.h>
@@ -24,14 +25,7 @@
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/file.h>
-
-
-#ifdef LINUX
-#include <bsd/sgtty.h>
-#else
-#include <sgtty.h>
-#endif
-
+#include <termios.h>
#ifdef SYSV
|