Update buidlroot to version 2016.08.1

This commit is contained in:
2016-11-16 22:07:29 +01:00
parent 807ab03547
commit a1061efbc2
3636 changed files with 59539 additions and 25783 deletions

View File

@@ -0,0 +1,43 @@
From da021ed297ff7a69f3b7532ef68a9b6877a55265 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 20 Aug 2016 11:05:27 +0200
Subject: [PATCH] libfuse-util: include <paths.h> when needed
Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should
include <paths.h>, which provides this definition.
This fixes the build with the musl C library.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
libfuse-lite/fusermount.c | 1 +
libfuse-lite/mount_util.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c
index 4e724db..680fee1 100644
--- a/libfuse-lite/fusermount.c
+++ b/libfuse-lite/fusermount.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
+#include <paths.h>
#ifdef __SOLARIS__
#include <sys/mnttab.h>
diff --git a/libfuse-lite/mount_util.c b/libfuse-lite/mount_util.c
index 8ea5e08..8b31722 100644
--- a/libfuse-lite/mount_util.c
+++ b/libfuse-lite/mount_util.c
@@ -15,6 +15,7 @@
#include <dirent.h>
#include <errno.h>
#include <limits.h>
+#include <paths.h>
#include <sys/stat.h>
#include <sys/wait.h>
#ifdef __SOLARIS__
--
2.7.4