diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-09-12 09:10:39 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-09-12 09:10:39 -0400 |
commit | 0eeec8ac61bf1eaa31533b2be825cd75580829c9 (patch) | |
tree | 89118cba85bf3cd64ba24e2c205788baead4d607 /intl | |
parent | f8bd55160cde8a678a9ddbf69b7555504b253bef (diff) |
Fix compiling under diet libc
Some recent changes had caused diet libc support to bitrot. Fix up
missing header files and other portability fixups needed for dietlibc.
(Many of these changes also improve general portability.)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'intl')
-rw-r--r-- | intl/dcigettext.c | 1 | ||||
-rw-r--r-- | intl/l10nflist.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/intl/dcigettext.c b/intl/dcigettext.c index a4452f7a..79678cf8 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -155,6 +155,7 @@ char *getcwd (); # endif # endif # ifndef HAVE_STPCPY +#define stpcpy(dest, src) my_stpcpy(dest, src) static char *stpcpy (char *dest, const char *src); # endif # ifndef HAVE_MEMPCPY diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 40b0249b..3393ecb5 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -58,6 +58,7 @@ # endif #else # ifndef HAVE_STPCPY +#define stpcpy(dest, src) my_stpcpy(dest, src) static char *stpcpy (char *dest, const char *src); # endif #endif |