about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/dl-osinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-osinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index 00a6caeaa6..f327161b7a 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -19,6 +19,11 @@
 
 #include <sys/sysctl.h>
 
+/* There is no prototype for __sysctl in that file.  */
+extern int __sysctl (int *name, int nlen, void *oldval,
+		     size_t *oldlenp, void *newval, size_t newlen);
+
+
 #ifdef SHARED
 /* This is the function used in the dynamic linker to print the fatal error
    message.  */