dart-sdk/runtime/bin/socket_base_fuchsia.h
Jason Simmons c58ad1fadf [dart:io] Fix Unix domain socket headers for Fuchsia
Change-Id: I053b41e29184f5edb3d4f19573ead5124528f12c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140624
Reviewed-by: Zichang Guo <zichangguo@google.com>
Commit-Queue: Jason Simmons <jsimmons@google.com>
2020-03-23 20:35:47 +00:00

18 lines
559 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_BASE_FUCHSIA_H_
#define RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_
#if !defined(RUNTIME_BIN_SOCKET_BASE_H_)
#error Do not include socket_base_fuchsia.h directly. Use socket_base.h.
#endif
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/un.h>
#endif // RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_