X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibpsocket.so_src%2Finclude_exp%2Farpa%2Finet.h;h=ea303ddb1c0cf57e1e353905b1d5acc8359e15ef;hb=d7dcea0e5a8df0f479e99f168a10b9a9535c7ad6;hp=effc288323390f81ad285b39120fdc8b7f32a055;hpb=d0b4559f2936f6d9f06be0f7c3c51527a480ec0d;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libpsocket.so_src/include_exp/arpa/inet.h b/Usermode/Libraries/libpsocket.so_src/include_exp/arpa/inet.h index effc2883..ea303ddb 100644 --- a/Usermode/Libraries/libpsocket.so_src/include_exp/arpa/inet.h +++ b/Usermode/Libraries/libpsocket.so_src/include_exp/arpa/inet.h @@ -11,6 +11,10 @@ #include #include // Should be inttypes.h? +#ifdef __cplusplus +extern "C" { +#endif + extern uint32_t htonl(uint32_t hostlong); extern uint16_t htons(uint16_t hostshort); extern uint32_t ntohl(uint32_t netlong); @@ -23,5 +27,9 @@ extern in_addr_t inet_netof(struct in_addr in); extern in_addr_t inet_network(const char *cp); extern char *inet_ntoa(struct in_addr in); +#ifdef __cplusplus +} +#endif + #endif