summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-09-12 09:10:39 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-09-12 09:10:39 -0400
commit0eeec8ac61bf1eaa31533b2be825cd75580829c9 (patch)
tree89118cba85bf3cd64ba24e2c205788baead4d607 /intl
parentf8bd55160cde8a678a9ddbf69b7555504b253bef (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.c1
-rw-r--r--intl/l10nflist.c1
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