From 62ce44a08a5c208d28bc15d55d27a63afe0a45aa Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Tue, 3 Nov 2015 21:46:15 +0100 Subject: [PATCH] fault: protect header against multiple inclusion. Signed-off-by: Richard Cochran --- fault.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fault.h b/fault.h index fd42b82..841ceb6 100644 --- a/fault.h +++ b/fault.h @@ -16,6 +16,9 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef HAVE_FAULT_H +#define HAVE_FAULT_H + #include enum fault_type { @@ -37,3 +40,5 @@ struct fault_interval { }; const char *ft_str(enum fault_type ft); + +#endif