diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-10-25 08:45:27 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-10-25 08:45:27 +0000 |
commit | 96d2e46b6c2d3d656229717275b597e70e256110 (patch) | |
tree | f4643f9990239203a1529d81bcd8f33ae3106b37 /ACE | |
parent | 84092f15f5b1321763a2d65b22de41ca63e66117 (diff) | |
download | ATCD-96d2e46b6c2d3d656229717275b597e70e256110.tar.gz |
Wed Oct 25 08:38:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/ace/config-rtems.h | 1 | ||||
-rw-r--r-- | ACE/ace/os_include/os_netdb.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ACE/ace/config-rtems.h b/ACE/ace/config-rtems.h index e01a645d1ea..118ffe62fce 100644 --- a/ACE/ace/config-rtems.h +++ b/ACE/ace/config-rtems.h @@ -164,6 +164,7 @@ # define ACE_LACKS_HOSTENT # define ACE_LACKS_SOCKADDR # define ACE_LACKS_IP_MREQ +# define ACE_LACKS_PROTOENT // Missing methods # define ACE_LACKS_GETHOSTBYADDR diff --git a/ACE/ace/os_include/os_netdb.h b/ACE/ace/os_include/os_netdb.h index 1847b5daf3d..f51bfd0aa0f 100644 --- a/ACE/ace/os_include/os_netdb.h +++ b/ACE/ace/os_include/os_netdb.h @@ -60,6 +60,14 @@ struct hostent { }; #endif /* ACE_LACKS_HOSTENT */ +#if defined (ACE_LACKS_PROTOENT) +struct protoent { + char *p_name; /* official protocol name */ + char **p_aliases; /* alias list */ + int p_proto; /* protocol # */ +}; +#endif /* ACE_LACKS_PROTOENT */ + #if defined (ACE_HAS_STRUCT_NETDB_DATA) typedef char ACE_HOSTENT_DATA[sizeof(struct hostent_data)]; typedef char ACE_SERVENT_DATA[sizeof(struct servent_data)]; |