On 11/19/2015 02:30 PM, Marc-André Lureau wrote:
Only libcacard.h should be included directly. Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> --- Makefile.am | 1 + src/cac.h | 5 +++++ src/capcsc.h | 4 ++++ src/card_7816.c | 4 ++++
Hi Marc-Andre, A C file ? Regards, Uri.
src/card_7816.h | 4 ++++ src/card_7816t.h | 4 ++++ src/eventt.h | 5 +++++ src/libcacard.h | 2 ++ src/vcard.h | 4 ++++ src/vcard_emul.h | 4 ++++ src/vcard_emul_type.h | 5 +++++ src/vcardt.h | 4 ++++ src/vevent.h | 5 +++++ src/vreader.h | 4 ++++ src/vreadert.h | 4 ++++ src/vscard_common.h | 4 ++++ 16 files changed, 63 insertions(+)
diff --git a/src/card_7816.c b/src/card_7816.c index 8b12689..4baa207 100644 --- a/src/card_7816.c +++ b/src/card_7816.c @@ -13,6 +13,10 @@ #include "vcard_emul.h" #include "card_7816.h" +#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION) +#warning "Only <libcacard.h> can be included directly" +#endif + /* * set the status bytes based on the status word */
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel