blob: 32eeb6a0a00304ab948f89bdf79b358f4aacafd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- a/dtndht/dtndht.h
+++ b/dtndht/dtndht.h
@@ -7,6 +7,7 @@ extern "C" {
#include <stdio.h>
#include <sys/socket.h>
+#include <time.h>
enum dtn_dht_bind_type {
BINDNONE = 0, IPV4ONLY = 1, IPV6ONLY = 2, BINDBOTH = 3
--- a/dtndht/blacklist.c
+++ b/dtndht/blacklist.c
@@ -6,6 +6,7 @@
#include <string.h>
#include <stdio.h>
#include <arpa/inet.h>
+#include <sys/types.h>
#ifdef HAVE_OPENSSL_SHA_H
#include <openssl/sha.h>
#else
--- a/dtndht/rating.h
+++ b/dtndht/rating.h
@@ -12,6 +12,7 @@
#include <sys/socket.h>
#include <arpa/inet.h>
#include <string.h>
+#include <time.h>
#ifdef HAVE_OPENSSL_SHA_H
#include <openssl/sha.h>
#else
|