Fix build on -CURRENT.

Submitted by:	bento
This commit is contained in:
Joe Marcus Clarke 2002-09-09 04:18:34 +00:00
parent 896ccafe99
commit ab030f6243
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65887
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- etc/afpd/unix.h.orig Sun Sep 8 23:45:56 2002
+++ etc/afpd/unix.h Mon Sep 9 00:03:58 2002
@@ -30,7 +30,8 @@
#if defined(TRU64)
#define f_frsize f_fsize
#else /* TRU64 */
-#if defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)
+#if (defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)) && \
+ !defined(__FreeBSD__)
#include <sys/statvfs.h>
#define statfs statvfs
#else /* HAVE_SYS_STATVFS || __svr4__ */

View file

@ -0,0 +1,12 @@
--- etc/afpd/unix.h.orig Sun Sep 8 23:45:56 2002
+++ etc/afpd/unix.h Mon Sep 9 00:03:58 2002
@@ -30,7 +30,8 @@
#if defined(TRU64)
#define f_frsize f_fsize
#else /* TRU64 */
-#if defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)
+#if (defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)) && \
+ !defined(__FreeBSD__)
#include <sys/statvfs.h>
#define statfs statvfs
#else /* HAVE_SYS_STATVFS || __svr4__ */