From: Michael Wallner Date: Wed, 8 Feb 2017 14:59:30 +0000 (+0100) Subject: configure: fix fd restoration X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5fb98c298b198dbc7dba9d1c339b21e179c65b4e;p=m6w6%2Fext-psi configure: fix fd restoration --- diff --git a/m4/psi/psi.m4 b/m4/psi/psi.m4 index b137ec6..6787834 100644 --- a/m4/psi/psi.m4 +++ b/m4/psi/psi.m4 @@ -166,7 +166,7 @@ EOF _AC_CACHE_DUMP >>conf.env dnl restore STDOUT,STDERR - exec >&$PSI_MESSAGE_FD 2>&$PSI_ERROR_FD + exec AS_MESSAGE_FD>&$PSI_MESSAGE_FD 2>&$PSI_ERROR_FD dnl done AS_ECHO_N(["$1 "]) @@ -237,6 +237,9 @@ typedef bool _Bool; #ifdef HAVE_ARPA_NAMESER_H # include #endif +#ifdef HAVE_ARPA_INET_H +# include +#endif #ifdef HAVE_FCNTL_H # include #endif