Donr declate AUTH as a struct in libnfs.h
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 19 Sep 2011 10:23:45 +0000 (20:23 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 19 Sep 2011 10:23:45 +0000 (20:23 +1000)
make it include rpc/auth.h properly instead

include/libnfs.h

index 3ff49d73b0f8604052efa5dc7f7dabb3e1b2133c..d3c7a9ad9c60ef8633dcb0e555e3b59375140130 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/auth.h>
 
 struct nfs_context;
 struct rpc_context;
@@ -62,7 +63,6 @@ EXTERN int nfs_queue_length(struct nfs_context *nfs);
 /*
  * Used if you need different credentials than the default for the current user.
  */
-struct AUTH;
 EXTERN void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth);