[uae] Fix for building virtual filesystem on FreeBSD

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 13 Sep 2004 11:51:01 -0500

Hi

Attached is a patch that fixes a typo in src/filesys_unix.c that was causing 
problems on FreeBSD (and probably elsewhere).

Thanks to Simon Dick for reporting the problem.

Cheers,
Rich

Index: src/filesys_unix.c
===================================================================
RCS file: /cvsroot/uaedev/uae/src/filesys_unix.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- src/filesys_unix.c  19 May 2004 01:21:49 -0000      1.1
+++ src/filesys_unix.c  13 Sep 2004 16:48:54 -0000      1.2
@@ -27,7 +27,7 @@
 # include <sys/statfs.h>
 #endif
 
-#ifdef HAVE_STATVFS_H
+#ifdef HAVE_SYS_STATVFS_H
 # include <sys/statvfs.h>
 #endif
 

Other related posts:

  • » [uae] Fix for building virtual filesystem on FreeBSD