summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-07-28 04:51:35 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-28 09:16:25 -0700
commit152e36883a79c0d73e0725357a4a2870b06eb75b (patch)
treed68ad9f1a04d0cb2e99bec5d8d3c0b73545c94e0 /libglusterfsclient
parented80e78aecf5f46e29e5cb9034f2b2c06836b8d4 (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 acab704232c..960284e25c3 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);