From edc385ef6a78faa2a4bd8d37d80d88986544442f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 11 Dec 2013 00:35:02 +0100 Subject: fix compilation when compiling without plist support --- src/client.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.1-32-gdbae