This file is part of MXE. See LICENSE.md for licensing information.

Index: stable/lib/curl_transport/curltransaction.c
===================================================================
--- stable/lib/curl_transport/curltransaction.c	(revision 2571)
+++ stable/lib/curl_transport/curltransaction.c	(working copy)
@@ -2,8 +2,6 @@
     curlTransaction
 =============================================================================*/
 
-#define _XOPEN_SOURCE 600  /* Make sure strdup() is in <string.h> */
-
 #include <assert.h>
 #include <string.h>
 #include <stdlib.h>
Index: stable/lib/expat/xmlparse/xmlparse.c
===================================================================
--- stable/lib/expat/xmlparse/xmlparse.c	(revision 2571)
+++ stable/lib/expat/xmlparse/xmlparse.c	(working copy)
@@ -4547,14 +4547,6 @@
 
 
 int
-XML_SetHashSalt(XML_Parser parser,
-                unsigned long hash_salt)
-{
-  hash_secret_salt = hash_salt;
-  return 1;
-}
-
-int
 xmlrpc_XML_Parse(XML_Parser   const xmlParserP,
                  const char * const s,
                  size_t       const len,
Index: stable/lib/expat/xmlparse/xmlparse.h
===================================================================
--- stable/lib/expat/xmlparse/xmlparse.h	(revision 2571)
+++ stable/lib/expat/xmlparse/xmlparse.h	(working copy)
@@ -491,8 +491,6 @@
    function behavior. This must be called before parsing is started.
    Returns 1 if successful, 0 when called after parsing has started.
 */
-int
-XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
 
 enum XML_Error {
   XML_ERROR_NONE,
Index: stable/src/cpp/packetsocket.cpp
===================================================================
--- stable/src/cpp/packetsocket.cpp	(revision 2571)
+++ stable/src/cpp/packetsocket.cpp	(working copy)
@@ -45,7 +45,7 @@
   example, an unplugged TCP/IP network cable.  It's probably better
   to use the TCP keepalive facility for that.
 ============================================================================*/
-#include "xmlrpc_config.h"
+#define MSVCRT 1
 
 #include <cassert>
 #include <string>
Index: stable/src/cpp/server_abyss.cpp
===================================================================
--- stable/src/cpp/server_abyss.cpp	(revision 2571)
+++ stable/src/cpp/server_abyss.cpp	(working copy)
@@ -1,4 +1,4 @@
-#include "xmlrpc_config.h"
+#define MSVCRT 1
 #define WIN32_LEAN_AND_MEAN  /* required by xmlrpc-c/abyss.h */
 #include <cstdlib>
 #include <string>
Index: stable/src/cpp/server_cgi.cpp
===================================================================
--- stable/src/cpp/server_cgi.cpp	(revision 2571)
+++ stable/src/cpp/server_cgi.cpp	(working copy)
@@ -12,7 +12,7 @@
    Contributed to the public domain by its author.
 =============================================================================*/
 
-#include "xmlrpc_config.h"
+#define MSVCRT 1
 #if MSVCRT
 #ifndef _CRT_SECURE_NO_WARNINGS
 #define _CRT_SECURE_NO_WARNINGS
Index: stable/src/cpp/server_pstream.cpp
===================================================================
--- stable/src/cpp/server_pstream.cpp	(revision 2571)
+++ stable/src/cpp/server_pstream.cpp	(working copy)
@@ -14,7 +14,7 @@
    Contributed to the public domain by its author.
 =============================================================================*/
 
-#include "xmlrpc_config.h"
+#define MSVCRT 1
 #if MSVCRT
 #ifndef _CRT_SECURE_NO_WARNINGS
 #define _CRT_SECURE_NO_WARNINGS
Index: stable/src/xmlrpc_datetime.c
===================================================================
--- stable/src/xmlrpc_datetime.c	(revision 2571)
+++ stable/src/xmlrpc_datetime.c	(working copy)
@@ -1,7 +1,5 @@
 #include "xmlrpc_config.h"
 
-#define _XOPEN_SOURCE 600  /* Make sure strdup() is in <string.h> */
-
 #include <time.h>
 #include <stdlib.h>
 #include <string.h>