From 7d31ea94fb6c07026f8762b99e9fbafee6c51f97 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Fri, 1 Nov 2002 02:54:42 +0000 Subject: [PATCH] Add missing extern "C" enclosures. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1808 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/netinet/in.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/headers/posix/netinet/in.h b/headers/posix/netinet/in.h index fc5c18c1a7..4a384f6886 100644 --- a/headers/posix/netinet/in.h +++ b/headers/posix/netinet/in.h @@ -7,6 +7,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef unsigned short in_port_t; typedef unsigned long in_addr_t; @@ -168,4 +172,9 @@ struct sockaddr_in { uint16 in_cksum(struct mbuf *m, int len, int off); #endif /* _KERNEL_MODE */ + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* NETINET_IN_H */