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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/ossocket.h

Issue 21610003: Prepared newlib toolchain for socket implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@headers
Patch Set: Created 7 years, 4 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 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 #ifndef LIBRARIES_NACL_IO_OSSOCKET_H_ 5 #ifndef LIBRARIES_NACL_IO_OSSOCKET_H_
6 #define LIBRARIES_NACL_IO_OSSOCKET_H_ 6 #define LIBRARIES_NACL_IO_OSSOCKET_H_
7 7
8 #if defined(__native_client__) && defined(__GLIBC__) 8 #if defined(__native_client__)
9 #include <arpa/inet.h> 9 #include <arpa/inet.h>
10 #include <netdb.h> 10 #include <netdb.h>
11 #include <netinet/in.h> 11 #include <netinet/in.h>
12 #include <sys/socket.h> 12 #include <sys/socket.h>
13 #define PROVIDES_SOCKET_API 13 #define PROVIDES_SOCKET_API
14 #endif 14 #endif
15 15
16 #endif /* LIBRARIES_NACL_IO_OSSOCKET_H_ */ 16 #endif /* LIBRARIES_NACL_IO_OSSOCKET_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698