16 Nov 08:10
[PATCH] Add more including files for complation on FreeBSD
libteredo/discovery.c needs more including files for FreeBSD (and maybe other *BSD). -- Sumikawa
From 7dbfd10b03b78754ff80ed550c306b6f0e6dd688 Mon Sep 17 00:00:00 2001 From: Munechika Sumikawa <sumikawa@...> Date: Wed, 16 Nov 2011 16:08:34 +0900 Subject: [PATCH] Add more including files for complation on FreeBSD --- libteredo/discovery.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libteredo/discovery.c b/libteredo/discovery.c index a736c52..e3a4dba 100644 --- a/libteredo/discovery.c +++ b/libteredo/discovery.c @@ -30,12 +30,15 @@ #include <inttypes.h> #include <stdlib.h> // malloc() #include <string.h> // mem???() +#include <assert.h> +#include <sys/types.h> #include <netinet/in.h> // struct in6_addr #include <netinet/ip6.h> // struct ip6_hdr (for packets.h) #include <arpa/inet.h> // inet_ntop() #include <pthread.h>(Continue reading)
RSS Feed