summaryrefslogtreecommitdiff
path: root/lib/util/time_basic.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-10-16 19:50:56 +1100
committerVolker Lendecke <vl@samba.org>2014-10-16 16:35:59 +0200
commitd81d77ae03d1631b408c43d8d34953c663e8ac3b (patch)
treecebb6bbcff801855b1bcbef882e51d84c1a64bf8 /lib/util/time_basic.h
parent9f5a842922776afdaaab8188159cb1a9aee13137 (diff)
downloadsamba-d81d77ae03d1631b408c43d8d34953c663e8ac3b.tar.gz
lib/util: Protect time_basic.h against multiple inclusion
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Oct 16 16:35:59 CEST 2014 on sn-devel-104
Diffstat (limited to 'lib/util/time_basic.h')
-rw-r--r--lib/util/time_basic.h5
1 files changed, 5 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#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_ */