diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c index 24f2a517e..56aa8314e 100644 --- a/src/filemanager/mountlist.c +++ b/src/filemanager/mountlist.c @@ -38,6 +38,11 @@ #include +/* This header needs to be included before sys/mount.h on *BSD */ +#ifdef HAVE_SYS_PARAM_H +#include +#endif + #if defined STAT_STATVFS || defined STAT_STATVFS64 /* POSIX 1003.1-2001 (and later) with XSI */ #include #else @@ -47,11 +52,6 @@ #include #include -/* This header needs to be included before sys/mount.h on *BSD */ -#ifdef HAVE_SYS_PARAM_H -#include -#endif - #ifdef MOUNTED_GETFSSTAT /* OSF_1 and Darwin1.3.x */ #ifdef HAVE_SYS_UCRED_H #include /* needed on OSF V4.0 for definition of NGROUPS,