summaryrefslogtreecommitdiff
path: root/libiberty/memmove.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-07-09 13:05:49 +0000
committerDJ Delorie <dj@delorie.com>2005-07-09 13:05:49 +0000
commit6c65ad612f670a9637fb239c99aa40138f4503d0 (patch)
tree644e709c20c066c5e43e941749f54c3dbe4707b3 /libiberty/memmove.c
parent3c59818d55829603fd5540593ed1f7a88349b5a9 (diff)
downloadgdb-6c65ad612f670a9637fb239c99aa40138f4503d0.tar.gz
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 06a24fc2688..30801f2d1c4 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);