summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-22 07:59:17 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-11-22 14:21:35 +0100
commit9fbd510569df2916cbcc69d46e1d0da9f63643e1 (patch)
tree0222658b139b24d6f80e3dd119ca7a95d1afaf04
parent0bb58fbd3ecede36ec775849109b506362300b24 (diff)
downloadcygnal-9fbd510569df2916cbcc69d46e1d0da9f63643e1.tar.gz
cygnal-9fbd510569df2916cbcc69d46e1d0da9f63643e1.tar.bz2
cygnal-9fbd510569df2916cbcc69d46e1d0da9f63643e1.zip
Provide <memory.h>
Provide <memory.h> for all standard Newlib targets and remove Cygwin-specific header. Most POSIX like systems provide this historic header. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
-rw-r--r--newlib/libc/include/memory.h4
-rw-r--r--winsup/cygwin/include/memory.h15
2 files changed, 4 insertions, 15 deletions
diff --git a/newlib/libc/include/memory.h b/newlib/libc/include/memory.h
new file mode 100644
index 000000000..f4a14fcb8
--- /dev/null
+++ b/newlib/libc/include/memory.h
@@ -0,0 +1,4 @@
+#ifndef _MEMORY_H
+#define _MEMORY_H
+#include <string.h>
+#endif /* !_MEMORY_H */
diff --git a/winsup/cygwin/include/memory.h b/winsup/cygwin/include/memory.h
deleted file mode 100644
index 42370a9bf..000000000
--- a/winsup/cygwin/include/memory.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* memory.h
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifndef _MEMORY_H
-#define _MEMORY_H
-
-/* This allows more things to compile. */
-#include <string.h>
-
-#endif /* _MEMORY_H */