From 4d44402333056dc8638260ff0d74503d11fc6e88 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 15 Jul 2007 00:19:10 +0000 Subject: [PATCH] fix compile on aix 5.2 --- src/os/aix/aix_sigar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index 2469254c..1b31a7f1 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -1344,10 +1344,13 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp) return fsp->type; } +#ifndef MNT_NFS4 /* another one documented in aix tech ref - * with no friggin prototype in any header file. + * with no friggin prototype in any header file... + * ...but added in 5.2 */ int mntctl(int command, int size, char *buffer); +#endif int sigar_file_system_list_get(sigar_t *sigar, sigar_file_system_list_t *fslist)