1a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)/* Copyright 2013 The Chromium Authors. All rights reserved.
2a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles) * Use of this source code is governed by a BSD-style license that can be
3a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles) * found in the LICENSE file. */
4a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)
5a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#ifndef LIBRARIES_NACL_IO_OSSOCKET_H_
6a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#define LIBRARIES_NACL_IO_OSSOCKET_H_
7a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)
8bb1529ce867d8845a77ec7cdf3e3003ef1771a40Ben Murdoch#include <sys/types.h>
9bb1529ce867d8845a77ec7cdf3e3003ef1771a40Ben Murdoch
10f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#if !defined(WIN32)
11a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#include <arpa/inet.h>
12a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#include <netdb.h>
13a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#include <netinet/in.h>
14a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles)#include <netinet/tcp.h>
153240926e260ce088908e02ac07a6cf7b0c0cbf44Ben Murdoch#include <poll.h>
16a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#include <sys/socket.h>
173240926e260ce088908e02ac07a6cf7b0c0cbf44Ben Murdoch#include <sys/select.h>
18a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#define PROVIDES_SOCKET_API
19a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#endif
20a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)
21a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles)#endif  /* LIBRARIES_NACL_IO_OSSOCKET_H_ */
22