missing header for struct timeval
author |
rfelker |
date |
Sun, 20 Aug 2006 23:19:18 +0000 |
parents |
ed2785b4dd48 |
children |
60211f9faa32 |
files |
stream/tcp.c stream/udp.c |
diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/stream/tcp.c Sun Aug 20 22:48:36 2006 +0000
+++ b/stream/tcp.c Sun Aug 20 23:19:18 2006 +0000
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
+#include <sys/time.h>
#include <ctype.h>
#include <netdb.h>
#include <unistd.h>
--- a/stream/udp.c Sun Aug 20 22:48:36 2006 +0000
+++ b/stream/udp.c Sun Aug 20 23:19:18 2006 +0000
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
+#include <sys/time.h>
#include <ctype.h>
#include <netdb.h>