mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 23:21:56 +00:00
fix all missing instances of __cplusplus checks/extern "C" in headers
patch by Arvid Picciani (aep)
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#ifndef _NETINET_IN_H
|
||||
#define _NETINET_IN_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define __NEED_in_addr_t
|
||||
#define __NEED_in_port_t
|
||||
#define __NEED_sa_family_t
|
||||
@ -300,4 +304,8 @@ struct ip6_mtuinfo
|
||||
|
||||
#define IPV6_RTHDR_TYPE_0 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user