X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Flibnfs-raw-nfs.h;h=fa87089a23eaf573516575667c78e76ca4c31f93;hb=463d59bf8e5ff1a3ac27ab4fedf77b237394d1a6;hp=c2c2f9a0362ec180b83877056e96257df9223e60;hpb=f816bf4c7641071d83ed2c796c93ce0ddba9b3b4;p=deb_libnfs.git diff --git a/nfs/libnfs-raw-nfs.h b/nfs/libnfs-raw-nfs.h index c2c2f9a..fa87089 100644 --- a/nfs/libnfs-raw-nfs.h +++ b/nfs/libnfs-raw-nfs.h @@ -5,6 +5,7 @@ #ifndef _NFS_H_RPCGEN #define _NFS_H_RPCGEN +#include @@ -18,6 +19,15 @@ extern "C" { #define NFS3_CREATEVERFSIZE 8 #define NFS3_COOKIEVERFSIZE 8 +#if defined(ANDROID) +typedef long long int quad_t; +typedef long long unsigned u_quad_t; +#endif +#if defined(WIN32) +typedef long long int quad_t; +typedef long long unsigned u_quad_t; +#endif + typedef char cookieverf3[NFS3_COOKIEVERFSIZE]; typedef u_quad_t uint64;