yaid.c: Time out idle connections after 30s.
[yaid] / yaid.h
diff --git a/yaid.h b/yaid.h
index 387f76e..daae4f6 100644 (file)
--- a/yaid.h
+++ b/yaid.h
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
+#include <time.h>
 
 #include <sys/types.h>
+#include <sys/time.h>
 #include <unistd.h>
 #include <fcntl.h>