Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7246b5d9 authored by Hashcode's avatar Hashcode
Browse files

mtdutils: add include to fix implicit function warning

Including unistd.h fixes implicit function warning for "read" and "close"
in mtdutils/mounts.c

Change-Id: I72c3a52de035600cdd794ed5e2d4cae0da26f428
parent 0579114c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <sys/mount.h>

#include "mounts.h"