summaryrefslogtreecommitdiff
path: root/ACE/ace/os_include/os_ifaddrs.h
blob: 11425e50aea2d705938770ee2270980b76bb63f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// -*- C++ -*-

//=============================================================================
/**
 *  @file    os_ifaddrs.h
 *
 *  os_ifaddrs.h include
 *
 *  $Id$
 *
 *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
 */
//=============================================================================

#ifndef ACE_OS_INCLUDE_OS_IFADDRS_H
#define ACE_OS_INCLUDE_OS_IFADDRS_H

#include /**/ "ace/pre.h"

#include /**/ "ace/config-all.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#if defined (ACE_VXWORKS)
#  include /**/ <net/ifaddrs.h>
#else
#  include /**/ <ifaddrs.h>
#endif /*ACE_VXWORKS */

// Place all additions (especially function declarations) within extern "C" {}
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

#ifdef __cplusplus
}
#endif /* __cplusplus */

#include /**/ "ace/post.h"
#endif /* ACE_OS_INCLUDE_OS_IFADDRS_H */