OSF1 fixes from [ 938867 ] Misc porting patches

by Marc W. Mengel


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@806 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2004-12-23 20:43:47 +00:00
parent 6f2d102c28
commit bc994e9a9b

6
disk.c
View File

@ -66,6 +66,12 @@
#define STATFS_T statvfs
#define F_NAMELEN(buf) ((buf).f_namemax)
#elif (defined(__alpha) && !defined(linux))
#include <sys/mount.h> /* osf1 statfs */
#define STATFS_FN(path, buf) (statfs(path,buf,sizeof(buf)))
#define STATFS_T statfs
#define F_NAMELEN(buf) (255)
#else
#include <sys/vfs.h> /* linux statfs */
#include <mntent.h>