bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error in glob.c with gcc 4.8


From: Bruno Haible
Subject: Re: Compilation error in glob.c with gcc 4.8
Date: Sat, 18 Aug 2018 23:34:17 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-130-generic; KDE/5.18.0; x86_64; ; )

Reuben Thomas wrote:
> I now get the same error, but with globfree.c. I am not sure why I didn't
> need this in my patches…

OK. Done as follows:


2018-08-18  Bruno Haible  <address@hidden>

        glob: Fix another compilation error when glob.h is not replaced.
        Reported and fix proposed by Reuben Thomas <address@hidden> again.
        * lib/globfree.c: Include <libc-config.h>.

diff --git a/lib/globfree.c b/lib/globfree.c
index b56ab28..def36e6 100644
--- a/lib/globfree.c
+++ b/lib/globfree.c
@@ -17,7 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #ifndef _LIBC
-# include <config.h>
+# include <libc-config.h>
 #endif
 
 #include <glob.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]