From 8ea1a4844975940013d8704f87ee137dcb27bfb5 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 26 Aug 2014 14:40:01 -0700 Subject: porting: OSX build fixes - xml build - do not redefine AT_SYMLINK_FOLLOW Change-Id: I516b3713904a6bad946a30f76fe4821f2ac61fd3 BUG: 1130307 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/8970 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- cli/src/cli.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index b48911648fa..e10dfafcbf3 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -395,9 +395,12 @@ cli_xml_output_snap_status_begin (cli_local_t *local, int op_ret, int op_errno, char *op_errstr); int cli_xml_output_snap_status_end (cli_local_t *local); + +#if (HAVE_LIB_XML) int cli_xml_snapshot_status_per_snap (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict, const char *keyprefix); +#endif int cli_xml_output_snapshot (int cmd_type, dict_t *dict, int op_ret, int op_errno, char *op_errstr); -- cgit