From f633dd24a3f9c6bb944faa5bc5175869cf6cd07f Mon Sep 17 00:00:00 2001 From: rufustfirefly Date: Fri, 1 Jun 2001 13:59:45 +0000 Subject: [PATCH] fix for linux compile by Sam Noble --- ChangeLog | 6 +++++- etc/afpd/quota.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a875f4c8..bd0c8f12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -($Id: ChangeLog,v 1.39 2001-05-25 16:18:08 rufustfirefly Exp $) +($Id: ChangeLog,v 1.40 2001-06-01 13:59:45 rufustfirefly Exp $) + +2001-06-01 jeff b + * etc/afpd/quota.c: fix for Linux compile by Sam Noble + 2001-05-25 jeff b * etc/uams/uams_passwd.c: another Tru64 fix from Burkhard diff --git a/etc/afpd/quota.c b/etc/afpd/quota.c index d05c033b..c06a2130 100644 --- a/etc/afpd/quota.c +++ b/etc/afpd/quota.c @@ -1,5 +1,5 @@ /* - * $Id: quota.c,v 1.6 2001-05-22 19:13:36 rufustfirefly Exp $ + * $Id: quota.c,v 1.7 2001-06-01 13:59:46 rufustfirefly Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -105,7 +105,7 @@ special( file, nfs ) } #else /* ultrix */ -#if defined(HAVE_SYS_MOUNT_H) || defined(BSD4_4) || defined(_IBMR2) +#if (defined(HAVE_SYS_MOUNT_H) && !defined(__linux__)) || defined(BSD4_4) || defined(_IBMR2) static char * special( file, nfs ) -- 2.39.2