[libglnx: 1/2] libglnx.m4: Include stdio.h for renameat2



commit 7be25521cf639acc77ad8f968eb6c918533e94ec
Author: Colin Walters <walters verbum org>
Date:   Wed Jul 11 14:56:32 2018 -0400

    libglnx.m4: Include stdio.h for renameat2
    
    glibc added it upstream:
    https://sourceware.org/git/?p=glibc.git;a=commit;h=d6da5cb6a8e0e8a9ce92b7d951a254cf325248d7
    
    But we need the right header.
    Ref: https://github.com/flatpak/flatpak/issues/1890

 libglnx.m4 | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libglnx.m4 b/libglnx.m4
index 34caf20..5922805 100644
--- a/libglnx.m4
+++ b/libglnx.m4
@@ -7,6 +7,7 @@ AC_CHECK_DECLS([
         [], [], [[
 #include <sys/types.h>
 #include <unistd.h>
+#include <stdio.h>
 #include <sys/mount.h>
 #include <fcntl.h>
 #include <sched.h>


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