From 26aad6001b3ddbca1d248f669bccd0da32a7760a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 25 Jun 2020 12:28:08 -0400 Subject: [PATCH] Port: No syslimits.h on GNU Hurd MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Signed-off-by: Michael Jeanson Change-Id: I72c7d35ee121abd0dd95ceb11127c6de90a20187 --- src/logging/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging/log.c b/src/logging/log.c index 49f69958..613e0568 100644 --- a/src/logging/log.c +++ b/src/logging/log.c @@ -313,8 +313,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 */ + #elif (defined(__sun__) || defined(__CYGWIN__) || defined(__GNU__)) + /* Solaris, Cygwin and Hurd have no sys/syslimits.h */ #else #include #endif -- 2.34.1