[NaCl SDK] nacl_io: add return value to nacl_io_init.
[chromium-blink-merge.git] / sandbox / mac / xpc_stubs_header.fragment
blob8197587fc74816bf76864c03ee83b81b3179949d
1 // Copyright 2014 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.
5 #ifndef SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
8 #include <bsm/libbsm.h>
10 #include "sandbox/sandbox_export.h"
12 // Declare or include public types.
13 #if !defined(MAC_OS_X_VERSION_10_7) || \
14     MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
16 extern "C" {
17 typedef void* xpc_object_t;
18 }  // extern "C"
20 #else
22 #include <xpc/xpc.h>
24 #endif
26 // Declare private types.
27 extern "C" {
28 typedef struct _xpc_pipe_s* xpc_pipe_t;
29 }  // extern "C"
31 #endif  // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_