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

Unified Diff: net/dns/dns_config_service_posix.h

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/dns/dns_config_service_posix.h
diff --git a/net/dns/dns_config_service_posix.h b/net/dns/dns_config_service_posix.h
index 91e03f439b72b80d6e74a9faf195ee13af9cd937..a8269e9c4417f5a9c08a237847cb3f64cab23328 100644
--- a/net/dns/dns_config_service_posix.h
+++ b/net/dns/dns_config_service_posix.h
@@ -6,6 +6,14 @@
#define NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_
#pragma once
+#include "build/build_config.h"
+
+#if defined(OS_OPENBSD)
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif
wtc 2011/10/18 21:50:26 Note: it may be better to use a forward declaratio
Robert Nagy 2011/10/19 07:10:02 Yes it makes sense to include these headers everyw
+
#include <resolv.h>
#include "base/compiler_specific.h"

Powered by Google App Engine
This is Rietveld 408576698