fix win32 compile

This commit is contained in:
Doug MacEachern committed 2005-12-15 00:20:27 +00:00
1 parent 982b898aa2
commit c04af84fd3
1 file changed
+4
+4
View File
@@ -510,6 +510,10 @@ SIGAR_DECLARE(int) sigar_nfs_ping(char *host)
#define vsnprintf _vsnprintf
#endif
#ifdef WIN32
# define rindex strrchr
#endif
static int proc_module_get_self(void *data, char *name, int len)
{
sigar_t *sigar = (sigar_t *)data;