getloadavg: avoid compile failure on AIX 6.1
authorJeremy Olexa <darkside@gentoo.org>
Tue, 6 Jan 2009 20:25:54 +0000 (21:25 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Jan 2009 20:27:03 +0000 (21:27 +0100)
* lib/getloadavg.c [HAVE_LIBPERFSTAT]: Include <sys/protosw.h>.
Details in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15465

ChangeLog
lib/getloadavg.c

index 0cebe87..959c8c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-06  Jeremy Olexa <darkside@gentoo.org>  (tiny change)
+
+       avoid compile failure on AIX 6.1
+       * lib/getloadavg.c [HAVE_LIBPERFSTAT]: Include <sys/protosw.h>.
+       Details in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15465
+
 2009-01-04  Jim Meyering  <meyering@redhat.com>
 
        remove duplicate inclusion of <stdio.h>
index ccfb6f0..5c32f9f 100644 (file)
 # endif /* LOAD_AVE_TYPE */
 
 # if defined HAVE_LIBPERFSTAT
+#  include <sys/protosw.h>
 #  include <libperfstat.h>
 #  include <sys/proc.h>
 #  ifndef SBITS