From 3a33ee995cbb151ab2a1c98d1dbe053544454e4e Mon Sep 17 00:00:00 2001 From: ajneu Date: Mon, 13 Jun 2016 10:52:41 +0200 Subject: [PATCH] header-guard for lib.h --- lib.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib.h b/lib.h index 36c3a09..2837278 100644 --- a/lib.h +++ b/lib.h @@ -41,6 +41,11 @@ * */ +#ifndef CAN_UTILS_LIB_H +#define CAN_UTILS_LIB_H + +#include + /* buffer sizes for CAN frame string representations */ #define CL_ID (sizeof("12345678##1")) @@ -208,3 +213,5 @@ void snprintf_can_error_frame(char *buf, size_t len, const struct canfd_frame *c /* * Creates a CAN error frame output in user readable format. */ + +#endif