From 0b8734858cb5d1dec4e8895bfbb5ad62cebc2b37 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 24 May 2012 10:22:56 -0400 Subject: [PATCH] endian.h: support cygwin commit 2928fe5a335193a097da016b80cf046970b8ce36 upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- include/lttng/ust-endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng/ust-endian.h b/include/lttng/ust-endian.h index 2426b146..9ec7cd9b 100644 --- a/include/lttng/ust-endian.h +++ b/include/lttng/ust-endian.h @@ -18,7 +18,7 @@ * modified is included with the above copyright notice. */ -#ifdef __linux__ +#if (defined(__linux__) || defined(__CYGWIN__)) #include #elif defined(__FreeBSD__) #include -- 2.34.1