X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Flibnfs-raw-nfs.h;h=dc47c05ef76f8b16178c18d42b38bc76af61ffa4;hb=d2ec73c75a60604419171f6ea086a702607ad69f;hp=c2c2f9a0362ec180b83877056e96257df9223e60;hpb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;p=deb_libnfs.git diff --git a/nfs/libnfs-raw-nfs.h b/nfs/libnfs-raw-nfs.h index c2c2f9a..dc47c05 100644 --- a/nfs/libnfs-raw-nfs.h +++ b/nfs/libnfs-raw-nfs.h @@ -6,8 +6,7 @@ #ifndef _NFS_H_RPCGEN #define _NFS_H_RPCGEN - - +#include #ifdef __cplusplus extern "C" { @@ -18,6 +17,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;