Sometimes, apps and libraries choose to use memory.h instead of strings.h. While musl provides this header, currently it is not included in any existent library.
We include it in the misc one in order to avoid further patching the apps and libs to use string.h.
One example of such library is lib-openssl, which, for the crypto functionality, asks for memory.h:
/home/maria/arm/apps/app-helloworld/build/libssl/origin/openssl-1.1.1c/crypto/pkcs7/bio_pk7.c:15:11: fatal error: memory.h: No such file or directory
15 | # include <memory.h>
| ^~~~~~~~~~
compilation terminated.
Sometimes, apps and libraries choose to use
memory.h
instead ofstrings.h
. Whilemusl
provides this header, currently it is not included in any existent library. We include it in themisc
one in order to avoid further patching the apps and libs to usestring.h
.One example of such library is
lib-openssl
, which, for the crypto functionality, asks formemory.h
: