diff --git a/cpu/native/include/periph_conf.h b/cpu/native/include/periph_conf.h index d31a8ad8d7a2..f49cd4ddd6a7 100644 --- a/cpu/native/include/periph_conf.h +++ b/cpu/native/include/periph_conf.h @@ -13,6 +13,13 @@ * @author Ludwig Ortmann */ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H + +#ifdef __cplusplus + extern "C" { +#endif + #ifdef MODULE_NATIVE_GPIO_VIRTUAL /* virtual */ #define GPIO_0_EN (1) #define GPIO_1_EN (1) @@ -112,3 +119,10 @@ #else /* no GPIO device */ #define GPIO_NUMOF (0) #endif + +#ifdef __cplusplus +} +#endif + +#endif /* PERIPH_CONF_H */ +/** @} */