From 2c5426c3d8070813f8eead7719aa7387ba6e188e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 30 Jan 2020 18:33:57 -0500 Subject: [PATCH] fix: add include guards to compat/path.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Change-Id: Ifb0672dcaf9b98715742546d71e54c5f4cd8dff6 Signed-off-by: Jérémie Galarneau --- src/common/compat/path.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/compat/path.h b/src/common/compat/path.h index f4ac6bfef..5584e1b64 100644 --- a/src/common/compat/path.h +++ b/src/common/compat/path.h @@ -5,9 +5,14 @@ * */ +#ifndef _COMPAT_PATH_H +#define _COMPAT_PATH_H + /* Build platform's preferred path separator. */ #if defined(_WIN32) || defined(__CYGWIN__) #define LTTNG_PATH_SEPARATOR '\\' #else #define LTTNG_PATH_SEPARATOR '/' #endif + +#endif /* _COMPAT_PATH_H */ -- 2.34.1