From b62cb0864f577ba85573d0d250d12a39387c07b4 Mon Sep 17 00:00:00 2001
From: Thomas Anders <tanders@users.sourceforge.net>
Date: Sun, 21 Aug 2011 00:55:33 +0200
Subject: [PATCH] CHANGES: aix: eliminate configure warning regarding libperfstat.h on AIX 6.1 and up

---
 configure.d/config_os_headers |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/configure.d/config_os_headers b/configure.d/config_os_headers
index a4ac775..f5bdfc3 100644
--- a/configure.d/config_os_headers
+++ b/configure.d/config_os_headers
@@ -471,7 +471,12 @@ case $target_os in
 *** To monitor CPU/memory values in AIX you need to install
 *** libperfstat which can be found in bos.perf
 ]),,
-                LMIBLIBS))
+                LMIBLIBS),,
+    [[
+#if HAVE_SYS_PROTOSW_H
+#include <sys/protosw.h>
+#endif
+    ]])
         ;;
     hpux*)
         #       HP-UX agent needs open_mib       (XXX - not a header check!)
-- 
1.7.4.1


