aboutsummaryrefslogtreecommitdiff
path: root/editors/mp/files/patch-mpdm_mpdm__f.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mp/files/patch-mpdm_mpdm__f.c')
-rw-r--r--editors/mp/files/patch-mpdm_mpdm__f.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/editors/mp/files/patch-mpdm_mpdm__f.c b/editors/mp/files/patch-mpdm_mpdm__f.c
index fca15c7f1e8a..dd8880cb00de 100644
--- a/editors/mp/files/patch-mpdm_mpdm__f.c
+++ b/editors/mp/files/patch-mpdm_mpdm__f.c
@@ -1,9 +1,18 @@
mpdm_f.c:1947:9: error: use of undeclared identifier 'environ'
environ = (char **) calloc(sizeof(char *), mpdm_size(v) + 1);
---- mpdm/mpdm_f.c.orig 2019-11-27 07:37:22 UTC
+--- mpdm/mpdm_f.c.orig 2020-11-22 08:58:48 UTC
+++ mpdm/mpdm_f.c
-@@ -1944,6 +1944,7 @@ static int sysdep_popen(mpdm_t v, char *prg, int rw)
+@@ -78,6 +78,8 @@
+ #include <sys/file.h>
+ #endif
+
++#include <netinet/in.h>
++
+ #include "mpdm.h"
+
+ #ifdef CONFOPT_ICONV
+@@ -1974,6 +1976,7 @@ static int sysdep_popen(mpdm_t v, char *prg, int rw)
/* build the environment for the subprocess */
v = mpdm_join(mpdm_get_wcs(mpdm_root(), L"ENV"), MPDM_S(L"="));