From 10917981954b83c58f7cbd6b2ca806196d4f5079 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 12 Jul 2023 11:24:54 +0200 Subject: [PATCH] libc: Add stub memory.h header for legacy programs --- libc/include/memory.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libc/include/memory.h diff --git a/libc/include/memory.h b/libc/include/memory.h new file mode 100644 index 00000000..89e05caa --- /dev/null +++ b/libc/include/memory.h @@ -0,0 +1,12 @@ +/* memory.h: Legacy header for string/memory manipulation functions. */ + +#ifndef _MEMORY_H +#define _MEMORY_H + +#warning "memory.h is a legacy header, you should use string.h in new code" + +#ifndef _STRING_H +#include +#endif + +#endif