mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
PR: 61343 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> (maintainer) Approved by: erwin (mentor) (implicitly)
23 lines
533 B
C++
23 lines
533 B
C++
--- src/scanmanager.cpp.orig Wed Jan 14 01:58:11 2004
|
|
+++ src/scanmanager.cpp Wed Jan 14 02:03:36 2004
|
|
@@ -29,7 +29,11 @@
|
|
//readMounts()
|
|
#include <fstab.h>
|
|
#include <mntent.h>
|
|
+#ifdef __FreeBSD__
|
|
+#include "mntent_compat.cpp"
|
|
+#else
|
|
#include <sys/statfs.h>
|
|
+#endif
|
|
|
|
#include "scanmanager.h"
|
|
#include "filetree.h"
|
|
@@ -359,7 +363,7 @@
|
|
|
|
|
|
|
|
-static int selector( struct DIRENT const *ent )
|
|
+static int selector( struct DIRENT *ent )
|
|
{
|
|
if( strcmp( ent->d_name, "." ) == 0 || strcmp( ent->d_name, ".." ) == 0 )
|
|
return 0;
|