diff options
author | Vijay Bellur <vijay@gluster.com> | 2009-12-18 12:38:04 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2009-12-20 21:38:36 -0800 |
commit | 96ae032a9cb9b198f31e26aba30a39e5148a2ba4 (patch) | |
tree | 81e731e4cbe0542dddb0cc62dd394a95768bb7e4 /libglusterfsclient/src/libglusterfsclient.c | |
parent | 2a51ab19e6370325a5ebac9ed63f8606738919ec (diff) |
Support for Compilation on Solaris
This is based on patch at:
http://node3.rnode.ru/glusterfs-3.0.0-p1.patch
Thanks to Petrunin Egor <shellcode@mail.ru> for this patch.
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 481 (Fix compilation failures in Solaris)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=481
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.c')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index 692f46d9214..0e12d81add5 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -44,7 +44,9 @@ #include "libglusterfsclient-internals.h" #include "compat.h" #include "compat-errno.h" +#ifndef GF_SOLARIS_HOST_OS #include <sys/vfs.h> +#endif #include <utime.h> #include <sys/param.h> #include <list.h> |