[PATCH libcacard 1/3] Include glib.h in public header

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

 



vscard_common.h uses glib G_BYTE_ORDER macros. Include glib.h in the
file, and thus move glib-2.0 as a Require package.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
---
 libcacard.pc.in     | 3 ++-
 src/vscard_common.h | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/libcacard.pc.in b/libcacard.pc.in
index 5bd2b2a..70410e2 100644
--- a/libcacard.pc.in
+++ b/libcacard.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
 Name: cacard
 Description: CA Card library
 Version: @PACKAGE_VERSION@
-Requires.private: nss glib-2.0
+Requires: glib-2.0
+Requires.private: nss
 Libs: -L${libdir} -lcacard
 Cflags: -I${includedir}/cacard
diff --git a/src/vscard_common.h b/src/vscard_common.h
index 879cfab..f2a18e1 100644
--- a/src/vscard_common.h
+++ b/src/vscard_common.h
@@ -23,6 +23,7 @@
 #define VSCARD_COMMON_H
 
 #include <stdint.h>
+#include <glib.h>
 
 #define VERSION_MAJOR_BITS 11
 #define VERSION_MIDDLE_BITS 11
-- 
2.5.0

_______________________________________________
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]