Chromium Code Reviews| 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" |