Add missing extern "C" enclosures.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1808 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5c3421e490
commit
7d31ea94fb
@ -7,6 +7,10 @@
|
||||
#include <net/if.h>
|
||||
#include <endian.h>
|
||||
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user