diff options
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 41a1969d..72bdd74c 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -1,6 +1,6 @@  /* A GNU-like <stdlib.h>. -   Copyright (C) 1995, 2001-2004, 2006-2017 Free Software Foundation, Inc. +   Copyright (C) 1995, 2001-2004, 2006-2018 Free Software Foundation, Inc.     This program is free software: you can redistribute it and/or     modify it under the terms of either: @@ -56,6 +56,9 @@  /* Solaris declares getloadavg() in <sys/loadavg.h>.  */  #if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ +/* OpenIndiana has a bug: <sys/time.h> must be included before +   <sys/loadavg.h>.  */ +# include <sys/time.h>  # include <sys/loadavg.h>  #endif  | 
