summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorepochqwert <epoch@53flpnlls43fcguy.onion>2015-01-17 00:25:01 -0600
committerepochqwert <epoch@53flpnlls43fcguy.onion>2015-01-17 00:25:01 -0600
commitfd9f6169e93cab12eaa8d4d9b968afe67ddca878 (patch)
treea95ec96ee782d2eeb2caaa12e0e97af8799f86c4 /src/bin
parenteaf6e1e1a941b8e0b52abadcd8b55901d5cf5301 (diff)
downloadmisc-fd9f6169e93cab12eaa8d4d9b968afe67ddca878.tar.gz
misc-fd9f6169e93cab12eaa8d4d9b968afe67ddca878.zip
updated tsize to not generate warnings
added a timeout for httpd to accept requests of 10 seconds.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/tsize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/tsize.c b/src/bin/tsize.c
index 475308d..29ebf83 100644
--- a/src/bin/tsize.c
+++ b/src/bin/tsize.c
@@ -1,6 +1,8 @@
#include <stdio.h>
#include <signal.h>
+#include <unistd.h>
#include <sys/ttycom.h>
+#include <sys/ioctl.h>
void winhand(int sig) {
struct winsize ws;