summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/m68k/vfork.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/vfork.S b/libc/sysdeps/linux/m68k/vfork.S
index ba3a67203..9aacf5916 100644
--- a/libc/sysdeps/linux/m68k/vfork.S
+++ b/libc/sysdeps/linux/m68k/vfork.S
@@ -11,7 +11,9 @@
.align 2
.globl errno
.globl vfork
+#if defined HAVE_ELF
.type vfork,@function
+#endif
vfork:
movl %sp@+, %a1 /* save the return address for later */
movl IMM __NR_vfork,%d0