summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getpid.c')
-rw-r--r--libc/sysdeps/linux/common/getpid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c
index d2e5a33e6..a966a531e 100644
--- a/libc/sysdeps/linux/common/getpid.c
+++ b/libc/sysdeps/linux/common/getpid.c
@@ -10,6 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
+extern __typeof(getpid) __libc_getpid;
#if defined __NR_getxpid
# define __NR_getpid __NR_getxpid
#endif