p4raw-id: //depot/cfgperl@2679
on_nosuid = check_okay && (stfs.f_flags & PERL_MOUNT_NOSUID);
# endif
# else
-# if defined(HAS_GETMNENT) && defined(HAS_HASMNTOPT) && defined(MNTOPT_NOSUID)
+# if defined(HAS_GETMNTENT) && defined(HAS_HASMNTOPT) && defined(MNTOPT_NOSUID)
FILE *mtab = fopen("/etc/mtab", "r");
struct mntent *entry;
struct stat stb, fsb;
#ifdef IAMSUID
#ifdef I_SYS_STATVFS
-# include <sys/statvfs.h>
-#else
-# ifdef I_SYS_MOUNT
-# include <sys/mount.h>
-# else
-# ifdef I_MNTENT
-# include <mntent.h>
-# endif
-# endif
+# include <sys/statvfs.h> /* for f?statvfs() */
+#endif
+#ifdef I_SYS_MOUNT
+# include <sys/mount.h> /* for *BSD f?statfs() */
+#endif
+#ifdef I_MNTENT
+# include <mntent.h> /* for getmntent() */
#endif
#endif /* IAMSUID */