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

Commit 0832a31d authored by Kenny Root's avatar Kenny Root
Browse files

Change unistd.h to stddef.h to be correct

size_t should be defined through inclusion of stddef.h instead of unistd.h

Change-Id: Ieaadacfca1e1c44c2533ea95f73fc060c1519b52
parent 937cd1b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
#include <utils/FileMap.h>
#include <utils/StreamingZipInflater.h>
#include <string.h>
#include <unistd.h>
#include <stddef.h>
#include <assert.h>

static inline size_t min(size_t a, size_t b) { return (a < b) ? a : b; }