Fix build on FreeBSD (#4051)

* Fix radio firmwares build under FreeBSD (#4050)

* Fix companion "mountlist" build under FreeBSD (#4049)
This commit is contained in:
Thibault Jouan
2016-11-19 20:46:37 +01:00
committed by Bertrand Songis
parent a35d6b6a05
commit 908138d81a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -455,7 +455,7 @@ read_file_system_list (bool need_fs_type)
me = (mount_entry *) malloc (sizeof *me);
me->me_devname = strdup (fsp->f_mntfromname);
me->me_mountdir = strdup (fsp->f_mntonname);
#if defined(__APPLE__) || defined(__OpenBSD__)
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
me->me_type = fsp->f_fstypename;
#else
me->me_type = fsp->fs_typename;