Ticket #2808: mc-freebsd6-mount-h.patch
File mc-freebsd6-mount-h.patch, 747 bytes (added by phil, 13 years ago) |
---|
-
work/mc-4.8.1.1/src/filemanager/mountlist.c
old new 38 38 39 39 #include <errno.h> 40 40 41 /* This header needs to be included before sys/mount.h on *BSD */ 42 #ifdef HAVE_SYS_PARAM_H 43 #include <sys/param.h> 44 #endif 45 41 46 #if defined STAT_STATVFS || defined STAT_STATVFS64 /* POSIX 1003.1-2001 (and later) with XSI */ 42 47 #include <sys/statvfs.h> 43 48 #else … … 46 51 #include <fcntl.h> 47 52 #include <unistd.h> 48 53 #include <sys/stat.h> 49 50 /* This header needs to be included before sys/mount.h on *BSD */51 #ifdef HAVE_SYS_PARAM_H52 #include <sys/param.h>53 #endif54 54 55 55 #ifdef MOUNTED_GETFSSTAT /* OSF_1 and Darwin1.3.x */ 56 56 #ifdef HAVE_SYS_UCRED_H