diff options
author | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-01-17 00:25:01 -0600 |
---|---|---|
committer | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-01-17 00:25:01 -0600 |
commit | fd9f6169e93cab12eaa8d4d9b968afe67ddca878 (patch) | |
tree | a95ec96ee782d2eeb2caaa12e0e97af8799f86c4 /src/bin | |
parent | eaf6e1e1a941b8e0b52abadcd8b55901d5cf5301 (diff) | |
download | misc-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.c | 2 |
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; |