aboutsummaryrefslogtreecommitdiff
path: root/libiberty/memmove.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-07-09 13:05:49 +0000
committerDJ Delorie <dj@redhat.com>2005-07-09 13:05:49 +0000
commit460565cb9d6df815a25b3b30ea026f3b3e9e89f7 (patch)
tree1d02f6649186004c2c017ed8838e9dc9fed57c39 /libiberty/memmove.c
parentc94c2c4ee441eb123bb9ad0ebe106fc5201b3933 (diff)
downloadgdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.zip
gdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.tar.gz
gdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/memmove.c')
-rw-r--r--libiberty/memmove.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/memmove.c b/libiberty/memmove.c
index 06a24fc..30801f2 100644
--- a/libiberty/memmove.c
+++ b/libiberty/memmove.c
@@ -13,7 +13,11 @@ Copies @var{count} bytes from memory area @var{from} to memory area
*/
#include <ansidecl.h>
+#ifdef ANSI_PROTOTYPES
#include <stddef.h>
+#else
+#define size_t unsigned long
+#endif
void bcopy (const void*, void*, size_t);