From: Michael Jeanson Date: Thu, 30 Jan 2020 23:33:57 +0000 (-0500) Subject: fix: add include guards to compat/path.h X-Git-Tag: v2.12.0-rc1~24 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2c5426c3d8070813f8eead7719aa7387ba6e188e;p=lttng-tools.git fix: add include guards to compat/path.h Signed-off-by: Michael Jeanson Change-Id: Ifb0672dcaf9b98715742546d71e54c5f4cd8dff6 Signed-off-by: Jérémie Galarneau --- 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 */