diff -u -r ../transmission-2.82/third-party/miniupnp/miniwget.c ./third-party/miniupnp/miniwget.c
--- ../transmission-2.82/third-party/miniupnp/miniwget.c	2013-08-09 04:47:50.000000000 +0200
+++ ./third-party/miniupnp/miniwget.c	2014-02-10 17:08:34.000000000 +0100
@@ -42,7 +42,7 @@
  * during the connect() call */
 #define MINIUPNPC_IGNORE_EINTR
 #endif /* #else _WIN32 */
-#if defined(__sun) || defined(sun)
+#if defined(__sun) || defined(sun) || defined __ANDROID__
 #define MIN(x,y) (((x)<(y))?(x):(y))
 #endif