summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/compat.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-02-05 05:00:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-05 03:05:43 -0800
commitc3005ce736d6bb3391e5f46930d355fc6b0f4d6e (patch)
tree71184f05253c727eb5440d7a998fdee288a48cd8 /libglusterfs/src/compat.h
parent4f736b6eb9d761287b6bf4ecfc19974a43a8644f (diff)
Fixes for MacOSX and Solaris build
Fixes for Solaris and MacOSX build errors. Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@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 'libglusterfs/src/compat.h')
-rw-r--r--libglusterfs/src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h
index 01683a174..20db203bf 100644
--- a/libglusterfs/src/compat.h
+++ b/libglusterfs/src/compat.h
@@ -261,6 +261,7 @@ enum {
int asprintf(char **string_ptr, const char *format, ...);
+int vasprintf (char **result, const char *format, va_list args);
char* strsep(char** str, const char* delims);
int solaris_listxattr(const char *path, char *list, size_t size);
int solaris_removexattr(const char *path, const char* key);