From: Emil Mikulic Date: Mon, 6 Jun 2011 10:47:56 +0000 (+1000) Subject: Whoops, I included sys/types in the wrong file. X-Git-Tag: 3.0.714 X-Git-Url: http://git.msquadrat.de/darkstat.git/commitdiff_plain/7aa582a9f5c9253e68e9d2afbf0a79c4729342c4 Whoops, I included sys/types in the wrong file. Suggested by: Chris Kuethe --- diff --git a/addr.c b/addr.c index 5485fd8..721d5e3 100644 --- a/addr.c +++ b/addr.c @@ -10,7 +10,6 @@ #include "addr.h" #include /* for inet_ntop */ -#include /* OpenBSD needs this */ #include #include /* for memcmp */ #include /* for getaddrinfo */ diff --git a/addr.h b/addr.h index ea2ae3f..ae7eaa1 100644 --- a/addr.h +++ b/addr.h @@ -10,6 +10,7 @@ #ifndef __DARKSTAT_ADDR_H #define __DARKSTAT_ADDR_H +#include /* for in_addr_t, at least on OpenBSD */ #include /* for AF_INET6 */ #include /* for in6_addr */ diff --git a/localip.c b/localip.c index ff50ce0..51a1bc3 100644 --- a/localip.c +++ b/localip.c @@ -12,7 +12,6 @@ #include "err.h" #include "localip.h" -#include /* OpenBSD needs this */ #include #include #include