Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 29f0aa80256359e806b307d2ee022eef > files > 2

libmcrypto-0.8.0-0.1.20100629svn3775.fc13.src.rpm

From af20c682e56659d478cd54c7479f642d983aa9b4 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Mon, 23 Aug 2010 23:33:53 +0400
Subject: [PATCH 1/3] Fix building with gnutls and new GCC

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 source/gnutls/TlsSocket.cxx |    2 ++
 source/gnutls/cert.cxx      |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/source/gnutls/TlsSocket.cxx b/source/gnutls/TlsSocket.cxx
index 18f379b..06e1a71 100644
--- a/source/gnutls/TlsSocket.cxx
+++ b/source/gnutls/TlsSocket.cxx
@@ -31,6 +31,8 @@
 #include <libmcrypto/gnutls/TlsSocket.h>
 #include <libmcrypto/TlsException.h>
 
+#include <cstdio>
+
 using namespace std;
 
 /************************************************************************/
diff --git a/source/gnutls/cert.cxx b/source/gnutls/cert.cxx
index 9bc8832..2a04e69 100644
--- a/source/gnutls/cert.cxx
+++ b/source/gnutls/cert.cxx
@@ -33,6 +33,7 @@
 #include <sys/mman.h>
 
 #include<iostream>
+#include<cstdio>
 
 using namespace std;
 
-- 
1.7.2.1