diff --git a/lib/libc/i386/string/bcopy.s b/lib/libc/i386/string/bcopy.s index 67a0167f5110..76d0de202086 100644 --- a/lib/libc/i386/string/bcopy.s +++ b/lib/libc/i386/string/bcopy.s @@ -33,6 +33,8 @@ * SUCH DAMAGE. */ +#include + #if defined(LIBC_RCS) && !defined(lint) .asciz "$ID$" #endif /* LIBC_RCS and not lint */ diff --git a/lib/libc/i386/string/memmove.s b/lib/libc/i386/string/memmove.s index e88d1202ed75..06aa6a34608c 100644 --- a/lib/libc/i386/string/memmove.s +++ b/lib/libc/i386/string/memmove.s @@ -33,6 +33,8 @@ * SUCH DAMAGE. */ +#include + #if defined(LIBC_RCS) && !defined(lint) .asciz "$ID$" #endif /* LIBC_RCS and not lint */ @@ -43,7 +45,7 @@ */ ENTRY(memmove) -ENTRY(memcpy) +ALTENTRY(memcpy) pushl %esi pushl %edi movl 12(%esp),%edi