X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Frquotad%2Fhasquota.c;h=d2d81153b5c0c9e634249bfd09394759cc73cc74;hb=bec968578d97eabc63ae4a12bdeb2b33f40baec4;hp=5d13921105cee7505bf9869504cec341cfce84f5;hpb=537042c4b8088b03ab9561701c927772179857a3;p=nfs-utils.git diff --git a/utils/rquotad/hasquota.c b/utils/rquotad/hasquota.c index 5d13921..d2d8115 100644 --- a/utils/rquotad/hasquota.c +++ b/utils/rquotad/hasquota.c @@ -19,7 +19,11 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ -#include "config.h" + +#ifdef HAVE_CONFIG_H +#include +#endif +#define _LINUX_QUOTA_VERSION 1 #include #include @@ -32,7 +36,7 @@ #define min(x,y) ((x) < (y)) ? (x) : (y) #define CORRECT_FSTYPE(type) \ -(!strcmp(type,MNTTYPE_EXT2)) +((!strcmp(type,MNTTYPE_EXT2)) || (!strcmp(type,MNTTYPE_EXT3))) char *qfextension[] = INITQFNAMES;