diff options
Diffstat (limited to 'include/net/if.h')
-rw-r--r-- | include/net/if.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/if.h b/include/net/if.h index 2ae5f89e..00c763a4 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -1,6 +1,10 @@ #ifndef _NET_IF_H #define _NET_IF_H +#ifdef __cplusplus +extern "C" { +#endif + #define IF_NAMESIZE 16 struct if_nameindex @@ -117,6 +121,8 @@ struct ifconf { #endif - +#ifdef __cplusplus +} +#endif #endif |