Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 274315 | Differences between
and this patch

Collapse All | Expand All

(-)gloox-0.9.8.original/src/connectionsocks5proxy.cpp (+1 lines)
Lines 19-28 Link Here
19
#include "logsink.h"
19
#include "logsink.h"
20
#include "prep.h"
20
#include "prep.h"
21
#include "base64.h"
21
#include "base64.h"
22
22
23
#include <string>
23
#include <string>
24
#include <cstdlib>
24
25
25
#include <string.h>
26
#include <string.h>
26
27
27
#if !defined( _WIN32 ) && !defined( _WIN32_WCE )
28
#if !defined( _WIN32 ) && !defined( _WIN32_WCE )
28
# include <netinet/in.h>
29
# include <netinet/in.h>
(-)gloox-0.9.8.original/src/md5.cpp (+1 lines)
Lines 70-79 Link Here
70
 */
70
 */
71
71
72
#include "md5.h"
72
#include "md5.h"
73
73
74
#include <string.h>
74
#include <string.h>
75
#include <cstdio> 
75
76
76
namespace gloox
77
namespace gloox
77
{
78
{
78
// #undef BYTE_ORDER	/* 1 = big-endian, -1 = little-endian, 0 = unknown */
79
// #undef BYTE_ORDER	/* 1 = big-endian, -1 = little-endian, 0 = unknown */
79
// #ifdef ARCH_IS_BIG_ENDIAN
80
// #ifdef ARCH_IS_BIG_ENDIAN
(-)gloox-0.9.8.original/src/sha.cpp (+2 lines)
Lines 10-19 Link Here
10
  This software is distributed without any warranty.
10
  This software is distributed without any warranty.
11
*/
11
*/
12
12
13
#include "sha.h"
13
#include "sha.h"
14
14
15
#include <cstdio>
16
15
namespace gloox
17
namespace gloox
16
{
18
{
17
19
18
  SHA::SHA()
20
  SHA::SHA()
19
  {
21
  {
(-)gloox-0.9.8.original/src/tag.cpp (+1 lines)
Lines 12-21 Link Here
12
12
13
13
14
#include "tag.h"
14
#include "tag.h"
15
15
16
#include <stdlib.h>
16
#include <stdlib.h>
17
#include <string.h>
17
18
18
#ifdef _WIN32_WCE
19
#ifdef _WIN32_WCE
19
# include <cmath>
20
# include <cmath>
20
#else
21
#else
21
# include <sstream>
22
# include <sstream>
(-)gloox-0.9.8.original/src/tests/tag/tag_perf.cpp (+1 lines)
Lines 4-13 Link Here
4
using namespace gloox;
4
using namespace gloox;
5
5
6
#include <stdio.h>
6
#include <stdio.h>
7
#include <locale.h>
7
#include <locale.h>
8
#include <string>
8
#include <string>
9
#include <cstdlib>
9
10
10
#include <sys/time.h>
11
#include <sys/time.h>
11
12
12
static double divider = 1000000;
13
static double divider = 1000000;
13
static int num = 2500;
14
static int num = 2500;
(-)gloox-0.9.8.original/src/tests/zlib/zlib_perf.cpp (+1 lines)
Lines 8-17 Link Here
8
8
9
#include <stdio.h>
9
#include <stdio.h>
10
#include <locale.h>
10
#include <locale.h>
11
#include <string>
11
#include <string>
12
#include <sys/time.h>
12
#include <sys/time.h>
13
#include <cstdlib>
13
14
14
#ifdef HAVE_ZLIB
15
#ifdef HAVE_ZLIB
15
16
16
class ZlibTest : public CompressionDataHandler
17
class ZlibTest : public CompressionDataHandler
17
{
18
{
(-)gloox-0.9.8.original/src/tlsgnutlsbase.cpp (+3 lines)
Lines 16-25 Link Here
16
16
17
#ifdef HAVE_GNUTLS
17
#ifdef HAVE_GNUTLS
18
18
19
#include <errno.h>
19
#include <errno.h>
20
20
21
#include <cstdlib>
22
#include <cstring>
23
21
namespace gloox
24
namespace gloox
22
{
25
{
23
26
24
  GnuTLSBase::GnuTLSBase( TLSHandler *th, const std::string& server )
27
  GnuTLSBase::GnuTLSBase( TLSHandler *th, const std::string& server )
25
    : TLSBase( th, server ), m_session( new gnutls_session_t ), m_buf( 0 ), m_bufsize( 17000 )
28
    : TLSBase( th, server ), m_session( new gnutls_session_t ), m_buf( 0 ), m_bufsize( 17000 )

Return to bug 274315