--- include/apr.hw
+++ include/apr.hw
@@ -276,7 +276,7 @@
 #define APR_HAVE_IN_ADDR        1
 #define APR_HAVE_INET_ADDR      1
 #define APR_HAVE_INET_NETWORK   0
-#define APR_HAVE_IPV6           0
+#define APR_HAVE_IPV6           1
 #define APR_HAVE_MEMMOVE        1
 #define APR_HAVE_SETRLIMIT      0
 #define APR_HAVE_SIGACTION      0
@@ -340,7 +340,7 @@
 /* If we have a TCP implementation that can be "corked", what flag
  * do we use?
  */
-#define APR_TCP_NOPUSH_FLAG       @apr_tcp_nopush_flag@
+#define APR_TCP_NOPUSH_FLAG       0
 
 /* Is the TCP_NODELAY socket option inherited from listening sockets?
  */

--- include/apr.hw
+++ include/apr.hw
@@ -367,7 +367,7 @@
 /* If we have a TCP implementation that can be "corked", what flag
  * do we use?
  */
-#define APR_TCP_NOPUSH_FLAG       @apr_tcp_nopush_flag@
+#define APR_TCP_NOPUSH_FLAG       0
 
 /* Is the TCP_NODELAY socket option inherited from listening sockets?
  */

Update patch for APR 1.7.x
Update patch for APR 1.7.x