From 5fb98c298b198dbc7dba9d1c339b21e179c65b4e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 8 Feb 2017 15:59:30 +0100 Subject: [PATCH] configure: fix fd restoration --- m4/psi/psi.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2