Commit 81f3c293 authored by Donnie Berkholz's avatar Donnie Berkholz

strlcpy() doesn't exist on Linux, so use the implementation in os/.

parent a715634d
2006-04-23 Donnie Berkholz <spyderous@gentoo.org>
* hw/xfree86/dummylib/Makefile.am:
strlcpy() doesn't exist on Linux, so use the implementation in os/.
2006-04-23 Matthieu Herrb <matthieu.herrb@laas.fr> 2006-04-23 Matthieu Herrb <matthieu.herrb@laas.fr>
* hw/xfree86/dummylib/xalloc.c * hw/xfree86/dummylib/xalloc.c
* hw/xfree86/loader/loader.c\ * hw/xfree86/loader/loader.c\
......
...@@ -8,6 +8,10 @@ INCLUDES = $(XORG_INCS) ...@@ -8,6 +8,10 @@ INCLUDES = $(XORG_INCS)
AM_CFLAGS = $(XORG_CFLAGS) @SERVER_DEFINES@ @LOADER_DEFINES@ 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 \ libdummy_a_SOURCES = getvalidbios.c \
pcitestmulti.c xf86allocscripi.c \ pcitestmulti.c xf86allocscripi.c \
xf86addrestolist.c xf86drvmsg.c xf86drvmsgverb.c \ xf86addrestolist.c xf86drvmsg.c xf86drvmsgverb.c \
...@@ -22,6 +26,7 @@ libdummy_nonserver_a_SOURCES = \ ...@@ -22,6 +26,7 @@ libdummy_nonserver_a_SOURCES = \
getvalidbios.c \ getvalidbios.c \
logvwrite.c \ logvwrite.c \
pcitestmulti.c \ pcitestmulti.c \
$(STRL_SRCS) \
verrorf.c \ verrorf.c \
xalloc.c \ xalloc.c \
xf86allocscripi.c \ xf86allocscripi.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment