summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bbs.h1
-rw-r--r--mbbsd/term.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 20e4f091..075db9a7 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -45,6 +45,7 @@
#endif
#ifdef __linux__
#include <sys/param.h>
+ #include <sys/ioctl.h>
#include <limits.h>
#include <sys/file.h> /* for flock() */
#include <strings.h> /* for strcasecmp() */
diff --git a/mbbsd/term.c b/mbbsd/term.c
index 54acc2a6..555840d1 100644
--- a/mbbsd/term.c
+++ b/mbbsd/term.c
@@ -52,7 +52,6 @@ outcf(int ch)
}
#endif
-#ifndef __linux__
static void
term_resize(int sig)
{
@@ -85,14 +84,11 @@ term_resize(int sig)
signal(SIGWINCH, term_resize);
}
-#endif
int
term_init()
{
-#ifndef __linux__
signal(SIGWINCH, term_resize);
-#endif
return YEA;
}