Port: No syslimits.h on GNU Hurd
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 25 Jun 2020 16:28:08 +0000 (12:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jul 2020 22:35:08 +0000 (18:35 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I72c7d35ee121abd0dd95ceb11127c6de90a20187

src/logging/log.c

index 49f69958c7a0cc6499a907531293090a54d37628..613e056880fb3716ba2c6c5121421f7c8ec325a6 100644 (file)
@@ -313,8 +313,8 @@ extern unsigned long pthread_getsequence_np(pthread_t *);
        #include <sys/time.h>
        #if defined(__linux__)
                #include <linux/limits.h>
        #include <sys/time.h>
        #if defined(__linux__)
                #include <linux/limits.h>
-       #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 <sys/syslimits.h>
        #endif
        #else
                #include <sys/syslimits.h>
        #endif
This page took 0.029677 seconds and 4 git commands to generate.