1c214cff55ce539d004d069a484dac3988953cb11Behdad Esfahbod/* Copyright 2013 The Chromium Authors. All rights reserved. 22409d5f8d7dd8b535ce5ea29e933f7db27d33793Behdad Esfahbod * Use of this source code is governed by a BSD-style license that can be 349f261df2aa753e8b09e97f7835e6a827f92970aBehdad Esfahbod * found in the LICENSE file. */ 4c755cb3e3ac55156d0d2ec05adea7a650b97cc41Behdad Esfahbod 564aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod#include "nacl_io/ossocket.h" 664aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod 764aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod#ifdef PROVIDES_SOCKET_API 864aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod 964aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod#include "nacl_io/kernel_intercept.h" 1064aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod#include "nacl_io/kernel_wrap.h" 1164aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod 1264aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbodstruct hostent* gethostbyname(const char* name) { 1364aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod return ki_gethostbyname(name); 1464aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod} 1564aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod 1664aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod#endif /* PROVIDES_SOCKET_API */ 1764aef3a54999496fd1de4f5aa5b019e4c03b3836Behdad Esfahbod