From 482f72714121d3681db7c6c31cb2d2ac084a3b1a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 13 Jul 2017 15:08:29 -0400 Subject: [PATCH] Port: Solaris and Cygwin have no sys/syslimits.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- logging/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/logging/log.c b/logging/log.c index 45610129..1a3204cc 100644 --- a/logging/log.c +++ b/logging/log.c @@ -310,6 +310,8 @@ extern unsigned long pthread_getsequence_np(pthread_t *); #include #if defined(__linux__) #include + #elif (defined(__sun__) || defined(__CYGWIN__)) + /* Solaris and Cygwin have no sys/syslimits.h */ #else #include #endif -- 2.34.1