[gmime] a few compile fixes in tests



commit 1ce5a32bf81ac4b05944ecc01360e4c66d847796
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Fri Mar 9 21:11:28 2012 -0500

    a few compile fixes in tests

 tests/test-parser.c |    2 +-
 tests/test-pkcs7.c  |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-parser.c b/tests/test-parser.c
index 6e42417..82fd4aa 100644
--- a/tests/test-parser.c
+++ b/tests/test-parser.c
@@ -118,7 +118,7 @@ print_mime_part_info (const char *path, GMimeObject *object)
 static void
 print_mime_struct_iter (GMimeMessage *message)
 {
-	const char *jump_to = "4.2.2.2";
+	//const char *jump_to = "4.2.2.2";
 	GMimePartIter *iter;
 	GMimeObject *part;
 	char *path;
diff --git a/tests/test-pkcs7.c b/tests/test-pkcs7.c
index 6a2229e..7b49128 100644
--- a/tests/test-pkcs7.c
+++ b/tests/test-pkcs7.c
@@ -33,6 +33,8 @@
 #include <gmime/gmime.h>
 #include <gmime/gmime-pkcs7-context.h>
 
+#include <gpg-error.h>
+
 #include "testsuite.h"
 
 extern int verbose;



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