PATCH: server/fd.c compilation fix

Gerald Pfeifer gerald at pfeifer.com
Sat Nov 4 23:50:45 CST 2006


This fixes the build on FreeBSD 5.4, which was broken by changes a few
days ago.

Gerald

ChangeLog:
#include <sys/param.h> before #including <sys/mount.h>.

Index: fd.c
===================================================================
RCS file: /home/wine/wine/server/fd.c,v
retrieving revision 1.73
diff -u -3 -p -r1.73 fd.c
--- fd.c	2 Nov 2006 21:49:20 -0000	1.73
+++ fd.c	5 Nov 2006 05:49:25 -0000
@@ -47,6 +47,9 @@
 #include <sys/vfs.h>
 #endif
 #ifdef HAVE_SYS_MOUNT_H
+# ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+# endif
 #include <sys/mount.h>
 #endif
 #ifdef HAVE_SYS_STATFS_H



More information about the wine-patches mailing list