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

Commit 6b2ea1ca authored by Anatol Pomazau's avatar Anatol Pomazau Committed by Anatol Pomozov
Browse files

Add header that declares memcpy()

It helps to fix a compilation issue with host libc:

core/fs_mgr/liblp/reader.cpp:252:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
        memcpy(&partition, cursor, sizeof(partition));
        ^~~~~~
        wmemcpy

Change-Id: I68f9c5b815b09f846aeba67bce0290f6829c80cf
parent a22599df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@

#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <functional>
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include "writer.h"

#include <inttypes.h>
#include <string.h>
#include <unistd.h>

#include <string>