Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I72c7d35ee121abd0dd95ceb11127c6de90a20187
#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