Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: net/base/host_resolver_proc.cc

Issue 8336024: OpenBSD patches for net, split from CR #8275005 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add missing crypto patch Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/host_resolver_proc.cc
diff --git a/net/base/host_resolver_proc.cc b/net/base/host_resolver_proc.cc
index 331675a366be09d62c73fefd89595408793d10bc..20bae3180015179593fea37d93fd90f026f29d13 100644
--- a/net/base/host_resolver_proc.cc
+++ b/net/base/host_resolver_proc.cc
@@ -12,6 +12,11 @@
#include "net/base/net_errors.h"
#include "net/base/sys_addrinfo.h"
+#if defined(OS_OPENBSD)
+#include <sys/types.h>
+#define AI_ADDRCONFIG 0
wtc 2011/10/18 21:50:26 With this AI_ADDRCONFIG macro definition, you shou
Robert Nagy 2011/10/19 07:10:02 Actually neither sys/types.h nor resolv.h is neede
+#endif
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
#include <resolv.h>
#endif

Powered by Google App Engine
This is Rietveld 408576698