Include string.h to sugar-fatattr
According to dsd's wisdom, without being included, strerror is undeclared. Fixes #4600 sugar crashing when copying journal entries to documents folder. Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
This commit is contained in:
parent
7d931c845e
commit
ba8c435e50
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
// This function is wrapped by getattrs/setattrs
|
// This function is wrapped by getattrs/setattrs
|
||||||
static int _ioctl_attrs(char *file, __u32 *attrs, int ioctlnum, char *verb)
|
static int _ioctl_attrs(char *file, __u32 *attrs, int ioctlnum, char *verb)
|
||||||
|
Loading…
Reference in New Issue
Block a user