From: Yang Tse Date: Fri, 14 Nov 2008 05:18:08 +0000 (+0000) Subject: fix symbol definition check for fcntl.h inclusion X-Git-Tag: curl-7_19_3~190 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b486ebbc1f578af786333cde4e22e3d56c41622;p=thirdparty%2Fcurl.git fix symbol definition check for fcntl.h inclusion --- diff --git a/ares/m4/cares-functions.m4 b/ares/m4/cares-functions.m4 index 66bf9cae69..1e9bde9a51 100644 --- a/ares/m4/cares-functions.m4 +++ b/ares/m4/cares-functions.m4 @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 19 +# serial 20 dnl CARES_INCLUDES_ARPA_INET @@ -60,7 +60,7 @@ cares_includes_fcntl="\ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_STROPTS_H +#ifdef HAVE_FCNTL_H # include #endif /* includes end */" diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index 3b902e6b2d..90c7f91949 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 36 +# serial 37 dnl CURL_INCLUDES_ARPA_INET @@ -66,7 +66,7 @@ curl_includes_fcntl="\ #ifdef HAVE_UNISTD_H # include #endif -#ifdef HAVE_STROPTS_H +#ifdef HAVE_FCNTL_H # include #endif /* includes end */"