[fix] - fix improper definition of struct AUTH from osx (caution - API change - not...
[deb_libnfs.git] / include / libnfs.h
index d3c7a9ad9c60ef8633dcb0e555e3b59375140130..9758a7814619c35ab44612871c1f249e493aa628 100644 (file)
@@ -18,6 +18,7 @@
  * This is the highlevel interface to access NFS resources using a posix-like interface
  */
 #include <stdint.h>
+#include <rpc/rpc.h>
 #include <rpc/auth.h>
 
 struct nfs_context;
@@ -63,7 +64,7 @@ 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, struct AUTH *auth);
+EXTERN void nfs_set_auth(struct nfs_context *nfs, AUTH *auth);
 
 
 /*