From d81d77ae03d1631b408c43d8d34953c663e8ac3b Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 16 Oct 2014 19:50:56 +1100 Subject: [PATCH] lib/util: Protect time_basic.h against multiple inclusion Signed-off-by: Martin Schwenke Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Oct 16 16:35:59 CEST 2014 on sn-devel-104 --- lib/util/time_basic.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/util/time_basic.h b/lib/util/time_basic.h index d1bb3b59bbc..d4853997978 100644 --- a/lib/util/time_basic.h +++ b/lib/util/time_basic.h @@ -21,6 +21,9 @@ * along with this program. If not, see . */ +#ifndef _SAMBA_TIME_BASIC_H_ +#define _SAMBA_TIME_BASIC_H_ + #include "replace.h" #include "system/time.h" @@ -43,3 +46,5 @@ struct timeval_buf { char buf[128]; }; char *timeval_str_buf(const struct timeval *tp, bool rfc5424, bool hires, struct timeval_buf *dst); + +#endif /* _SAMBA_TIME_BASIC_H_ */ -- 2.11.4.GIT