summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-07-28 04:51:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-28 09:16:29 -0700
commitc6fcc71d720b1cd550a8f1386020567786acf3b2 (patch)
treea02668320a0f4ff7b952044ff97e914d5fff103a /libglusterfsclient
parent666243d4b665e4e7db08c39fd62d12cabde9f428 (diff)
libglusterfsclient: Fix solaris build error
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 115 (./configure adds libglusterfsclient when it shouldn't) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=115
Diffstat (limited to 'libglusterfsclient')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h
index acab70423..960284e25 100755
--- a/libglusterfsclient/src/libglusterfsclient.h
+++ b/libglusterfsclient/src/libglusterfsclient.h
@@ -43,10 +43,11 @@ __BEGIN_DECLS
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
-#include <sys/vfs.h>
+#include <sys/statfs.h>
#include <sys/statvfs.h>
#include <utime.h>
#include <sys/time.h>
+#include <stdint.h>
typedef struct {
struct iovec *vector;
@@ -141,7 +142,7 @@ typedef void * glusterfs_dir_t;
* depending on the log level.
*/
glusterfs_handle_t
-glusterfs_init (glusterfs_init_params_t *ctx, u_int32_t fakefsid);
+glusterfs_init (glusterfs_init_params_t *ctx, uint32_t fakefsid);