diff --git a/cpu/native/include/nativenet.h b/cpu/native/include/nativenet.h index 3d91466ad0..c19c750005 100644 --- a/cpu/native/include/nativenet.h +++ b/cpu/native/include/nativenet.h @@ -1,3 +1,6 @@ +#ifndef NATIVENET_H +#define NATIVENET_H + #include #define RX_BUF_SIZE (10) @@ -27,3 +30,4 @@ uint16_t nativenet_set_pan(uint16_t pan); uint16_t nativenet_get_pan(); void nativenet_switch_to_rx(); +#endif /* NATIVENET_H */ diff --git a/cpu/native/include/nativenet_internal.h b/cpu/native/include/nativenet_internal.h index a20c33c8b7..2a2c01a7dc 100644 --- a/cpu/native/include/nativenet_internal.h +++ b/cpu/native/include/nativenet_internal.h @@ -1,3 +1,6 @@ +#ifndef NATIVENET_INTERNAL_H +#define NATIVENET_INTERNAL_H + #include "tap.h" #define NNEV_PWRDWN 0x01 @@ -22,3 +25,4 @@ extern struct rx_buffer_s _nativenet_rx_buffer[]; extern volatile uint8_t rx_buffer_next; void _nativenet_handle_packet(radio_packet_t *packet); +#endif /* NATIVENET_INTERNAL_H */