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

Side by Side Diff: net/dns/dns_util.cc

Issue 1532833002: Include missing errno.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/dns/dns_util.h" 5 #include "net/dns/dns_util.h"
6 6
7 #include <errno.h>
8
7 #include <cstring> 9 #include <cstring>
8 10
9 #include "build/build_config.h" 11 #include "build/build_config.h"
10 12
11 #if defined(OS_POSIX) 13 #if defined(OS_POSIX)
12 #include <netinet/in.h> 14 #include <netinet/in.h>
13 #if !defined(OS_NACL) 15 #if !defined(OS_NACL)
14 #include <net/if.h> 16 #include <net/if.h>
15 #if !defined(OS_ANDROID) 17 #if !defined(OS_ANDROID)
16 #include <ifaddrs.h> 18 #include <ifaddrs.h>
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // TODO(wtc): implement with the GetAdaptersAddresses function. 145 // TODO(wtc): implement with the GetAdaptersAddresses function.
144 NOTIMPLEMENTED(); 146 NOTIMPLEMENTED();
145 return false; 147 return false;
146 #else 148 #else
147 NOTIMPLEMENTED(); 149 NOTIMPLEMENTED();
148 return false; 150 return false;
149 #endif // defined(various platforms) 151 #endif // defined(various platforms)
150 } 152 }
151 153
152 } // namespace net 154 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698