summaryrefslogtreecommitdiff
path: root/src/sys2.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-25 17:01:13 +0000
committerJim Meyering <jim@meyering.net>1997-12-25 17:01:13 +0000
commit4f71c219103c62e8d428c1cb71009ac5c242f965 (patch)
tree76f0f8eee1262cf63eb2a42e284859caced9657a /src/sys2.h
parent9897ca0150a714970b7a8ee5c25fd584289a686a (diff)
downloadcoreutils-4f71c219103c62e8d428c1cb71009ac5c242f965.tar.xz
Declare stpcpy only if not defined as macro.
Diffstat (limited to 'src/sys2.h')
-rw-r--r--src/sys2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index a5225714f..e2d41594e 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -133,7 +133,9 @@ char *realloc ();
#endif
#ifndef HAVE_DECL_STPCPY
+# ifndef stpcpy
char *stpcpy ();
+# endif
#endif
#ifndef HAVE_DECL_STRSTR