X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/libgnutls/socket.c.patch diff --git a/packages/libgnutls/socket.c.patch b/packages/libgnutls/socket.c.patch new file mode 100644 index 00000000..db2c631e --- /dev/null +++ b/packages/libgnutls/socket.c.patch @@ -0,0 +1,15 @@ +Include for htons() and ntohs(). + +Should be the portable solution specified by man pages. + +diff -u -r ../gnutls-3.3.8/src/socket.c ./src/socket.c +--- ../gnutls-3.3.8/src/socket.c 2014-08-23 07:19:59.000000000 +0200 ++++ ./src/socket.c 2014-09-19 22:48:54.148437077 +0200 +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include + #ifndef _WIN32 + #include + #endif