summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 21:11:25 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 21:11:25 +0000
commit5a0177d4474787951c0cae56e285bb075ab405f3 (patch)
tree354532d7b25de7c9ae6080d29bf39f912e148a22
parentfd38ee667976855150d3c1231a1acc2cf1a89330 (diff)
downloadxorg-lib-libXpm-5a0177d4474787951c0cae56e285bb075ab405f3.tar.gz
Accept autoconf HAVE_STRLCPY as alias for HAS_STRLCATXORG-6_8_99_900XORG-6_8_99_16
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index e7b3378..9644181 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -50,7 +50,7 @@
#include <ctype.h>
#include <string.h>
-#ifdef HAS_STRLCAT
+#if defined(HAS_STRLCAT) || defined(HAVE_STRLCAT)
# define STRLCAT(dst, src, dstsize) do { \
if (strlcat(dst, src, dstsize) >= (dstsize)) \
return (XpmFileInvalid); } while(0)