aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-11-14 05:18:08 +0000
committerYang Tse <yangsita@gmail.com>2008-11-14 05:18:08 +0000
commit4b486ebbc1f578af786333cde4e22e3d56c41622 (patch)
tree2b244a8fd5a88bc291932169d40e2f758bf55258
parentf9f211d2c62c2c1354be95198209a1e147c7e39d (diff)
fix symbol definition check for fcntl.h inclusion
-rw-r--r--ares/m4/cares-functions.m44
-rw-r--r--m4/curl-functions.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/ares/m4/cares-functions.m4 b/ares/m4/cares-functions.m4
index 66bf9cae6..1e9bde9a5 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 <unistd.h>
#endif
-#ifdef HAVE_STROPTS_H
+#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
/* includes end */"
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index 3b902e6b2..90c7f9194 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 <unistd.h>
#endif
-#ifdef HAVE_STROPTS_H
+#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
/* includes end */"