From f8c24212ae84869743e7940ce9e4e22cd1833956 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 9 Mar 2004 19:22:08 +0000 Subject: [PATCH] Added statvfs prototype. --- include/wine/port.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wine/port.h b/include/wine/port.h index 00d1748dbe9..5e8bce629bd 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -272,6 +272,10 @@ int sigsetjmp( sigjmp_buf buf, int savesigs ); void siglongjmp( sigjmp_buf buf, int val ); #endif /* HAVE_SIGSETJMP */ +#ifndef HAVE_STATVFS +int statvfs( const char *path, struct statvfs *buf ); +#endif + #ifndef HAVE_STRNCASECMP # ifndef HAVE__STRNICMP int strncasecmp(const char *str1, const char *str2, size_t n); @@ -391,7 +395,7 @@ extern long interlocked_xchg_add( long *dest, long incr ); #define pread __WINE_NOT_PORTABLE(pread) #define pwrite __WINE_NOT_PORTABLE(pwrite) #define spawnvp __WINE_NOT_PORTABLE(spawnvp) -#define statfs __WINE_NOT_PORTABLE(statfs) +#define statvfs __WINE_NOT_PORTABLE(statvfs) #define strcasecmp __WINE_NOT_PORTABLE(strcasecmp) #define strerror __WINE_NOT_PORTABLE(strerror) #define strncasecmp __WINE_NOT_PORTABLE(strncasecmp)