Eric Blake wrote:
> These were the only includes that I found that were conditional on a
> particular module being in use.

Tricky stuff. There was a typo. Correcting it:


2009-12-24  Bruno Haible  <br...@clisp.org>

        * lib/stdlib.in.h (includes): Fix typo in today's commit.

--- lib/stdlib.in.h.orig        Thu Dec 24 16:27:18 2009
+++ lib/stdlib.in.h     Thu Dec 24 16:26:53 2009
@@ -39,7 +39,7 @@
 #include <stddef.h>
 
 /* Solaris declares getloadavg() in <sys/loadavg.h>.  */
-#if (@GNULIB_GETLOADAVG@ || defined GNULIB_GETLOADAVG) && @HAVE_SYS_LOADAVG_H@
+#if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@
 # include <sys/loadavg.h>
 #endif
 


Reply via email to