void-packages/srcpkgs/gloox/patches/gloox-musl.patch
Wilson Birney dbe2d9a07a New package: gloox-1.0.20
Closes: #10369 [via git-merge-pr]
2018-01-04 00:45:33 +01:00

21 lines
564 B
Diff

--- src/connectiontcpserver.cpp.orig 2017-02-21 13:32:58.000000000 +0100
+++ src/connectiontcpserver.cpp 2018-01-03 08:38:57.121764510 +0100
@@ -51,7 +51,7 @@
#endif
#include <cstdlib>
-#include <string>
+#include <string.h>
#ifndef _WIN32_WCE
# include <sys/types.h>
--- src/dns.cpp.orig 2017-02-21 13:32:58.000000000 +0100
+++ src/dns.cpp 2018-01-03 08:36:12.832722565 +0100
@@ -22,6 +22,7 @@
#endif
#include <stdio.h>
+#include <string.h>
#if ( !defined( _WIN32 ) && !defined( _WIN32_WCE ) ) || defined( __SYMBIAN32__ )
# include <netinet/in.h>