summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2018-07-11 14:56:32 -0400
committerColin Walters <walters@verbum.org>2018-07-11 14:56:32 -0400
commit7be25521cf639acc77ad8f968eb6c918533e94ec (patch)
tree3032e4b4e012421d4dc82e053bb7d6587d6056d2
parente1a78cf2f5351d5394ccfb79f3f5a7b4917f73f3 (diff)
downloadlibglnx-7be25521cf639acc77ad8f968eb6c918533e94ec.tar.gz
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
-rw-r--r--libglnx.m41
1 files changed, 1 insertions, 0 deletions
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>