about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/getpid.c')
-rw-r--r--sysdeps/unix/sysv/aix/getpid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/getpid.c b/sysdeps/unix/sysv/aix/getpid.c
index 67ef7eaf79..8a74e22da7 100644
--- a/sysdeps/unix/sysv/aix/getpid.c
+++ b/sysdeps/unix/sysv/aix/getpid.c
@@ -1,6 +1,9 @@
 /* This is a system call.  We only have to provide the wrapper.  */
+#include <unistd.h>
+
 int
 __getpid (void)
 {
   return getpid ();
 }
+libc_hidden_def (__getpid)