blob: 936509b094d85813fef34fa2b1adf55495dae6c1 [file] [log] [blame]
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +01001/* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5#ifndef LIBRARIES_NACL_IO_OSSOCKET_H_
6#define LIBRARIES_NACL_IO_OSSOCKET_H_
7
Ben Murdochbb1529c2013-08-08 10:24:53 +01008#include <sys/types.h>
9
Ben Murdoch32409262013-08-07 11:04:47 +010010#if defined(__native_client__)
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +010011#include <arpa/inet.h>
12#include <netdb.h>
13#include <netinet/in.h>
Ben Murdoch32409262013-08-07 11:04:47 +010014#include <poll.h>
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +010015#include <sys/socket.h>
Ben Murdoch32409262013-08-07 11:04:47 +010016#include <sys/select.h>
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +010017#define PROVIDES_SOCKET_API
18#endif
19
20#endif /* LIBRARIES_NACL_IO_OSSOCKET_H_ */