summaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-11 00:35:02 +0100
committerGravatar Nikias Bassen2013-12-11 00:35:02 +0100
commitedc385ef6a78faa2a4bd8d37d80d88986544442f (patch)
treec90b13ba44b4957c3fa8d68ae61ad0c9be4efa90 /src/client.c
parent37efc3afb8d2c27c747426f0deb9e574c7ce3ec8 (diff)
downloadusbmuxd-edc385ef6a78faa2a4bd8d37d80d88986544442f.tar.gz
usbmuxd-edc385ef6a78faa2a4bd8d37d80d88986544442f.tar.bz2
fix compilation when compiling without plist support
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index aa276cd..c8fb470 100644
--- a/src/client.c
+++ b/src/client.c
@@ -190,6 +190,7 @@ static int send_pkt(struct mux_client *client, uint32_t tag, enum usbmuxd_msgtyp
return hdr.length;
}
+#ifdef HAVE_PLIST
static int send_plist_pkt(struct mux_client *client, uint32_t tag, plist_t plist)
{
int res = -1;
@@ -204,6 +205,7 @@ static int send_plist_pkt(struct mux_client *client, uint32_t tag, plist_t plist
}
return res;
}
+#endif
static int send_result(struct mux_client *client, uint32_t tag, uint32_t result)
{