aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/sysd-link.h5
-rw-r--r--sysdeps/unix/sysv/linux/sysd-link.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/generic/sysd-link.h b/sysdeps/generic/sysd-link.h
new file mode 100644
index 0000000000..2faa1a4f51
--- /dev/null
+++ b/sysdeps/generic/sysd-link.h
@@ -0,0 +1,5 @@
+/* In general we don't have stat64 available. */
+#define elf_stat stat
+#define elf_fxstat __fxstat
+#define elf_xstat __xstat
+#define elf_ino_t ino_t
diff --git a/sysdeps/unix/sysv/linux/sysd-link.h b/sysdeps/unix/sysv/linux/sysd-link.h
new file mode 100644
index 0000000000..c722d55d1d
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sysd-link.h
@@ -0,0 +1,5 @@
+/* On Linux we have stat64 available. */
+#define elf_stat stat64
+#define elf_fxstat __fxstat64
+#define elf_xstat __xstat64
+#define elf_ino_t ino64_t