From dff43d5156bd593e959e314aea721b1feda12461 Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Tue, 22 May 2012 21:50:53 -0400 Subject: [PATCH] board_info: add guard for multiple includes of .h file --- flight/PiOS/inc/pios_board_info.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flight/PiOS/inc/pios_board_info.h b/flight/PiOS/inc/pios_board_info.h index f2ff58fb4..3ff7aa886 100644 --- a/flight/PiOS/inc/pios_board_info.h +++ b/flight/PiOS/inc/pios_board_info.h @@ -1,3 +1,8 @@ +#ifndef PIOS_BOARD_INFO_H +#define PIOS_BOARD_INFO_H + +#include /* uint* */ + #define PIOS_BOARD_INFO_BLOB_MAGIC 0xBDBDBDBD struct pios_board_info { @@ -15,3 +20,5 @@ struct pios_board_info { } __attribute__((packed)); extern const struct pios_board_info pios_board_info_blob; + +#endif /* PIOS_BOARD_INFO_H */