diff options
Diffstat (limited to 'system/include/net/netdb.h')
-rw-r--r-- | system/include/net/netdb.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/include/net/netdb.h b/system/include/net/netdb.h index ee33be5f..4151ccb5 100644 --- a/system/include/net/netdb.h +++ b/system/include/net/netdb.h @@ -1,4 +1,11 @@ +#ifndef _NET_NETDB_H +#define _NET_NETDB_H + +#ifdef __cplusplus +extern "C" { +#endif + struct addrinfo { int ai_flags; @@ -25,3 +32,9 @@ struct hostent char **h_addr_list; }; +#ifdef __cplusplus +} +#endif + +#endif + |