Merge pull request #30 from theuni/android
[deb_libnfs.git] / include / libnfs.h
index 3d296316aa7eda24810c6a1d2723fb699a983d92..75613d701bf67b034c563d0c1f7cce0ecc310e74 100644 (file)
@@ -18,6 +18,9 @@
  * This is the highlevel interface to access NFS resources using a posix-like interface
  */
 #include <stdint.h>
+#if defined(ANDROID)
+#include <sys/time.h>
+#endif
 
 struct nfs_context;
 struct rpc_context;
@@ -62,7 +65,8 @@ EXTERN int nfs_queue_length(struct nfs_context *nfs);
 /*
  * Used if you need different credentials than the default for the current user.
  */
-EXTERN void nfs_set_auth(struct nfs_context *nfs, AUTH *auth);
+struct AUTH;
+EXTERN void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth);
 
 
 /*