summaryrefslogtreecommitdiff
path: root/hw/xfree86/dummylib
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-04-24 05:39:47 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-04-24 05:39:47 +0000
commit81f3c2937df6230542f3223c201da8c41ff59945 (patch)
tree15729306b28e010713978c5b2d191d02073d24e7 /hw/xfree86/dummylib
parenta715634d23fb3124261dbbd8d7d4e6522551bb9b (diff)
strlcpy() doesn't exist on Linux, so use the implementation in os/.
Diffstat (limited to 'hw/xfree86/dummylib')
-rw-r--r--hw/xfree86/dummylib/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/dummylib/Makefile.am b/hw/xfree86/dummylib/Makefile.am
index afe419a35..c2cb8ef78 100644
--- a/hw/xfree86/dummylib/Makefile.am
+++ b/hw/xfree86/dummylib/Makefile.am
@@ -8,6 +8,10 @@ INCLUDES = $(XORG_INCS)
AM_CFLAGS = $(XORG_CFLAGS) @SERVER_DEFINES@ @LOADER_DEFINES@
+if NEED_STRLCAT
+STRL_SRCS = $(top_srcdir)/os/strlcat.c $(top_srcdir)/os/strlcpy.c
+endif
+
libdummy_a_SOURCES = getvalidbios.c \
pcitestmulti.c xf86allocscripi.c \
xf86addrestolist.c xf86drvmsg.c xf86drvmsgverb.c \
@@ -22,6 +26,7 @@ libdummy_nonserver_a_SOURCES = \
getvalidbios.c \
logvwrite.c \
pcitestmulti.c \
+ $(STRL_SRCS) \
verrorf.c \
xalloc.c \
xf86allocscripi.c \