// 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>

#endif  // RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_

// 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_

Fix Unix domain socket headers for Fuchsia
[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 <d26af3001798f91912fb1504666bca93c093d553@google.com>
Commit-Queue: Jason Simmons <345008440c885d4763d50f58e545b9839f60f79f@google.com>
