Re: [spice-gtk] smartcard: Fix compilation with older libcacard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack

On Wed, Dec 9, 2015 at 12:06 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> e0c2182937 dropped some #include from channel-smartcard.c and spicy.c as
> they were redundant with the headers already included from
> spice-common/common/messages.h. While this is true for the newer
> libcacard.h header, we need to include more headers to support older
> libcacard, or compilation breaks.
> ---
>  src/channel-smartcard.c | 4 ++++
>  src/spicy.c             | 4 ++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/src/channel-smartcard.c b/src/channel-smartcard.c
> index 7403431..b5535e6 100644
> --- a/src/channel-smartcard.c
> +++ b/src/channel-smartcard.c
> @@ -17,6 +17,10 @@
>  */
>  #include "config.h"
>
> +#ifdef USE_SMARTCARD_012
> +#include <vreader.h>
> +#endif
> +
>  #include "spice-client.h"
>  #include "spice-common.h"
>
> diff --git a/src/spicy.c b/src/spicy.c
> index 38ef159..12ae653 100644
> --- a/src/spicy.c
> +++ b/src/spicy.c
> @@ -24,6 +24,10 @@
>  #include <termios.h>
>  #endif
>
> +#ifdef USE_SMARTCARD_012
> +#include <vreader.h>
> +#endif
> +
>  #include "glib-compat.h"
>  #include "spice-widget.h"
>  #include "spice-gtk-session.h"
> --
> 2.5.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]