Add missing header in Filesystem TS configure tests
authorUros Bizjak <ubizjak@gmail.com>
Wed, 26 Oct 2016 11:29:31 +0000 (13:29 +0200)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 26 Oct 2016 11:29:31 +0000 (12:29 +0100)
2016-10-26  Uros Bizjak  <ubizjak@gmail.com>

* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Include <limits.h>
for PATH_MAX in realpath test.
* configure: Regenerate.

From-SVN: r241548

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index 11ac1062d094d86a28ae9bd44dcc6e6b0544b2d4..8287f7176abffa83976c27cbc0b1f6be6b26b5ec 100644 (file)
@@ -1,3 +1,9 @@
+2016-10-26  Uros Bizjak  <ubizjak@gmail.com>
+
+       * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Include <limits.h>
+       for PATH_MAX in realpath test.
+       * configure: Regenerate.
+
 2016-10-25  Jonathan Wakely  <jwakely@redhat.com>
 
        * src/filesystem/ops.cc
index d0ee45fb49b6a7145bd84a2fee08578e1ac71177..1fc4de16e21f2a68e85df146690d86584de253c6 100644 (file)
@@ -4290,6 +4290,7 @@ dnl
   AC_CACHE_VAL(glibcxx_cv_realpath, [dnl
     GCC_TRY_COMPILE_OR_LINK(
       [
+       #include <limits.h>
        #include <stdlib.h>
        #include <unistd.h>
       ],
index 09b73b8589123b3404c7574347f6e02f63fc333f..8481a48fbd8a8a7950a03d4bb8762c10033da49f 100755 (executable)
@@ -80056,6 +80056,7 @@ else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+       #include <limits.h>
        #include <stdlib.h>
        #include <unistd.h>
 
@@ -80088,6 +80089,7 @@ fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+       #include <limits.h>
        #include <stdlib.h>
        #include <unistd.h>