add include on SunOS for memset

This commit is contained in:
wiedi 2017-06-28 11:07:20 +00:00
parent e970bfe12d
commit 17697dade5
2 changed files with 19 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.3 2017/05/25 10:03:23 joerg Exp $
$NetBSD: distinfo,v 1.4 2017/06/28 11:07:20 wiedi Exp $
SHA1 (flxmlrpc-0.1.4.tar.gz) = fc43cd2ebf7740ad09d3e65f534d79330f193631
RMD160 (flxmlrpc-0.1.4.tar.gz) = dab11324460ff1ae9587740e5805ce6a9a6ad975
SHA512 (flxmlrpc-0.1.4.tar.gz) = 00f0f508d947129475f1a7c691c11d3ffd6c5cc85ababc503bcb407c1110e04b878bb47de81cd675b05fd882d4e2e038da520acb005542f8f5aa94384a6c5f75
Size (flxmlrpc-0.1.4.tar.gz) = 769747 bytes
SHA1 (patch-include_XmlRpcBase64.h) = 2458160158ae33cb0916636e9d9ebd66bf8ee992
SHA1 (patch-src_XmlRpcDispatch.cpp) = 15870ccc151e14dfed3abed3eecbe20b5df2bb98

View file

@ -0,0 +1,17 @@
$NetBSD: patch-src_XmlRpcDispatch.cpp,v 1.1 2017/06/28 11:07:21 wiedi Exp $
add include on SunOS for memset
--- src/XmlRpcDispatch.cpp.orig 2015-04-19 13:32:14.000000000 +0000
+++ src/XmlRpcDispatch.cpp
@@ -32,6 +32,10 @@
# include <sys/timeb.h>
#endif // __FreeBSD__
+#if defined(__sun)
+#include <string.h>
+#endif
+
#if defined(_WINDOWS)
# include <winsock2.h>