fix compile on aix 5.2

This commit is contained in:
Doug MacEachern 2007-07-15 00:19:10 +00:00
parent 5cfc305137
commit 4d44402333
1 changed files with 4 additions and 1 deletions

View File

@ -1344,10 +1344,13 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
return fsp->type; return fsp->type;
} }
#ifndef MNT_NFS4
/* another one documented in aix tech ref /* 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); int mntctl(int command, int size, char *buffer);
#endif
int sigar_file_system_list_get(sigar_t *sigar, int sigar_file_system_list_get(sigar_t *sigar,
sigar_file_system_list_t *fslist) sigar_file_system_list_t *fslist)