diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-28 02:34:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-28 02:34:45 +0000 |
commit | a7b8a17b063179d23e185eee655a308ae91873d7 (patch) | |
tree | 56ee1e9e17bdba4a7b854929eb10dd6f22e62f0f /sysdeps | |
parent | 9cd2726c9365cb969289b3ec9baa2e4d569cb15e (diff) | |
download | glibc-a7b8a17b063179d23e185eee655a308ae91873d7.tar glibc-a7b8a17b063179d23e185eee655a308ae91873d7.tar.gz glibc-a7b8a17b063179d23e185eee655a308ae91873d7.tar.bz2 glibc-a7b8a17b063179d23e185eee655a308ae91873d7.zip |
* sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.
From Alexandre Oliva <aoliva@redhat.com>.
* sysdeps/gnu/errlist-compat.c: Regenerated.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/gnu/errlist-compat.awk | 1 | ||||
-rw-r--r-- | sysdeps/gnu/errlist-compat.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk index 84cee1565b..88b4d4f126 100644 --- a/sysdeps/gnu/errlist-compat.awk +++ b/sysdeps/gnu/errlist-compat.awk @@ -72,6 +72,7 @@ END { new = compat[old]; n = vcount[old]; printf "#if SHLIB_COMPAT (libc, %s, %s)\n", old, new; + printf "# include <bits/wordsize.h>\n"; printf "extern const char *const __sys_errlist_%s[];\n", old; printf "const int __sys_nerr_%s = %d;\n", old, n; printf "strong_alias (_sys_errlist_internal, __sys_errlist_%s)\n", old; diff --git a/sysdeps/gnu/errlist-compat.c b/sysdeps/gnu/errlist-compat.c index 56766bfd0f..741677bb1b 100644 --- a/sysdeps/gnu/errlist-compat.c +++ b/sysdeps/gnu/errlist-compat.c @@ -3,6 +3,7 @@ #include <shlib-compat.h> #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) +# include <bits/wordsize.h> extern const char *const __sys_errlist_GLIBC_2_0[]; const int __sys_nerr_GLIBC_2_0 = 123; strong_alias (_sys_errlist_internal, __sys_errlist_GLIBC_2_0) @@ -18,6 +19,7 @@ compat_symbol (libc, ___sys_nerr_GLIBC_2_0, _sys_nerr, GLIBC_2_0); #endif #if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_3) +# include <bits/wordsize.h> extern const char *const __sys_errlist_GLIBC_2_1[]; const int __sys_nerr_GLIBC_2_1 = 125; strong_alias (_sys_errlist_internal, __sys_errlist_GLIBC_2_1) |