1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/misc/vifm/files/patch-src-utils-utils.c
Guido Falsi 39398c2846 - Update to 0.7.4b
PR:		ports/177589
Submitted by:	Kaspars Bankovskis <kaspars@bankovskis.lv> (maintainer)
2013-09-01 00:10:16 +00:00

21 lines
558 B
C

--- src/utils/utils.c.orig 2013-04-02 18:56:49.000000000 +0300
+++ src/utils/utils.c 2013-04-02 18:21:24.000000000 +0300
@@ -34,7 +34,7 @@
#include <sys/wait.h> /* waitpid() */
#endif
-#if !defined(_WIN32) && !defined(__APPLE__)
+#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__FreeBSD__)
#include <mntent.h> /* getmntent() */
#endif
@@ -267,7 +267,7 @@
int
is_on_slow_fs(const char *full_path)
{
-#if defined(_WIN32) || defined(__APPLE__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
return 0;
#else
FILE *f;