git://git.jankratochvil.net
/
middleman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55205b3
)
+Missing <time.h> include
author
short
<>
Mon, 18 Nov 2002 13:15:59 +0000
(13:15 +0000)
committer
short
<>
Mon, 18 Nov 2002 13:15:59 +0000
(13:15 +0000)
src/hash.c
patch
|
blob
|
history
src/header.c
patch
|
blob
|
history
src/network.c
patch
|
blob
|
history
diff --git
a/src/hash.c
b/src/hash.c
index
8cc8bad
..
6fb2905
100644
(file)
--- a/
src/hash.c
+++ b/
src/hash.c
@@
-19,6
+19,7
@@
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "proto.h"
#include "hash.h"
diff --git
a/src/header.c
b/src/header.c
index
6333746
..
24e0819
100644
(file)
--- a/
src/header.c
+++ b/
src/header.c
@@
-23,6
+23,7
@@
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <time.h>
#include "proto.h"
extern COOKIE_LIST *cookie_list;
diff --git
a/src/network.c
b/src/network.c
index
418baf9
..
ecfaa07
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-30,6
+30,7
@@
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <time.h>
#include "proto.h"
time_t last_dns_expire = 0;