6b699d6cff
Change log: v1.0.17 -- 23 Aug 2016 ---------------------- Note: This release is not binary compatible with previous releases. It is source compatible. - MingW compile fixes (thanks to Florian Niebel) - properly use winsock2 (thanks to Kau) - a few fixes for uclibc++ compatibility (thanks to Erik Horemans) - Message: removed bogus hard-coded namespace to fix component use v1.0.16 -- 16 Jul 2016 ---------------------- - PubSubManager: properly include publish options (thanks to Iban Ulov) - PubSubManager: properly parse subscriptions in ctor (thanks to Joe Best) - Resource: fixed high memory usage when receiving presence stanzas (#259) (thanks to Manuel) v1.0.15 -- 25 Apr 2016 ---------------------- - Error: fix copy ctor (thanks to Olivier Tchilinguirian) - ClientBase: properly fix handling of MUC invitation declines (wrong in 1.0.14) (thanks to Martin Hillmeier and Matias Snellingen) (#248) - MUCRoom: handle SendRoomConfig (thanks to Matias Snellingen) (#253) - soversion bump, missed that for 1.0.14 (thanks to Vincent Cheng) - TLSGNUTLSClient: fixed off-by-one error in certificate verification - IPv6 fixes v1.0.14 -- 11 Aug 2015 ---------------------- Note: This release is not binary compatible with previous releases. It is source compatible. - IOData: make it possible to pass more than one element as in/out/error data - Client: fix resetting of presence status text - TLSSChannel: fix memory leak (thanks to Alexander Weisner) - Error: added setAppError() to set application-specific error message - PubSub::Item: added setPayload(), setID() - Adhoc: return clone of plugin - PubSub::Manager: fix finding of subscription type (thanks to BillHoo) - ChatStateFilter: fix enable logic (thanks to Ivan Shmakov) - MessageEvent: added parsing of <id/> (thanks to Ivan Shmakov) - MessageEvent: added id() (thanks to Ivan Shmakov) - ClientBase: handle MUC invitation declines properly (thanks to Matias Snellingen) - DNS: IPv6 fix (thanks to garimacoe) (#249) - DelayedDelivery: propagate internal state properly (#251) - PubSub::Manager: fix GetSubscriberList and GetAffiliateList
16 lines
502 B
C++
16 lines
502 B
C++
$NetBSD: patch-src_connectiontcpserver.cpp,v 1.3 2016/08/30 15:20:47 schnoebe Exp $
|
|
|
|
Make sure string.h is included for memset and friends.
|
|
Assume it's needed for all non-_WIN32_CE operating systems.
|
|
(hmm, this should probably be determined by configure, and handled in config.h)
|
|
|
|
--- src/connectiontcpserver.cpp.orig 2016-08-23 13:55:51.000000000 +0000
|
|
+++ src/connectiontcpserver.cpp
|
|
@@ -55,6 +55,7 @@
|
|
|
|
#ifndef _WIN32_WCE
|
|
# include <sys/types.h>
|
|
+# include <string.h>
|
|
#endif
|
|
|
|
// remove for 1.1
|