From 625a261a530cc273fba062ac59fd6b6ca9ddc8ad Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 17 Nov 2009 02:40:14 +0000 Subject: [PATCH] OpenBSD demands that sys/types.h be included before sys/socket.h svn:r1539 --- sample/dns-example.c | 2 ++ test/regress_listener.c | 2 ++ test/regress_main.c | 1 + test/regress_util.c | 2 ++ 4 files changed, 7 insertions(+) diff --git a/sample/dns-example.c b/sample/dns-example.c index fda7def0..c5ecf7f6 100644 --- a/sample/dns-example.c +++ b/sample/dns-example.c @@ -1,6 +1,8 @@ #include +#include + #ifdef WIN32 #include #include diff --git a/test/regress_listener.c b/test/regress_listener.c index 14e7a2b5..87269f4a 100644 --- a/test/regress_listener.c +++ b/test/regress_listener.c @@ -29,6 +29,8 @@ #include #endif +#include + #ifndef WIN32 #include #include diff --git a/test/regress_main.c b/test/regress_main.c index c0260504..fab48c1e 100644 --- a/test/regress_main.c +++ b/test/regress_main.c @@ -48,6 +48,7 @@ #include #endif +#include #ifndef WIN32 #include diff --git a/test/regress_util.c b/test/regress_util.c index e474a34a..2476d7c0 100644 --- a/test/regress_util.c +++ b/test/regress_util.c @@ -31,6 +31,8 @@ #include "event-config.h" +#include + #ifndef WIN32 #include #include -- 2.40.0