mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 04:01: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 _NET_ROUTE_H
|
||||
#define _NET_ROUTE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
@ -113,4 +117,8 @@ struct in6_rtmsg {
|
||||
|
||||
#define RTMSG_AR_FAILED 0x51
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user