summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/compat.h
diff options
context:
space:
mode:
authorHarshavardhana Ranganath <harsha@gluster.com>2009-07-09 00:50:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-09 14:03:38 -0700
commit55f476455c66dc1e21bbbe88a29c9ae304a81002 (patch)
treecdc18eb4b5a950ad541423f482eac3d335c68f02 /libglusterfs/src/compat.h
parentb23c9fcc8a16b8c4a4b1814ff5035a18f03da0f4 (diff)
Fixes for MacOSX and Solaris buildv2.0.4
Fixes for Solaris and MacOSX build errors. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src/compat.h')
-rw-r--r--libglusterfs/src/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h
index 228daf5da..588ad8b93 100644
--- a/libglusterfs/src/compat.h
+++ b/libglusterfs/src/compat.h
@@ -218,7 +218,8 @@ enum {
#define lutimes(filename,times) utimes(filename,times)
-int asprintf(char **string_ptr, const char *format, ...);
+int asprintf (char **buf, const char *fmt, ...);
+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);