mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:58:13 +00:00
14233482d9
This changes the eventhandler to epoll and adds some code for sockets to runtime/bin/sockets_fuchsia.cc. It also adds some simple tests to hello_fuchsia.dart. R=asiva@google.com Review URL: https://codereview.chromium.org/2515643004 .
17 lines
509 B
C
17 lines
509 B
C
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef RUNTIME_BIN_SOCKET_FUCHSIA_H_
|
|
#define RUNTIME_BIN_SOCKET_FUCHSIA_H_
|
|
|
|
#if !defined(RUNTIME_BIN_SOCKET_H_)
|
|
#error Do not include socket_fuchsia.h directly. Use socket.h.
|
|
#endif
|
|
|
|
#include <arpa/inet.h>
|
|
#include <netdb.h>
|
|
#include <sys/socket.h>
|
|
|
|
#endif // RUNTIME_BIN_SOCKET_FUCHSIA_H_
|