libite: Add strlcat and strlcpy.

These function only exist on uClibc and BSD, so if they
not already defined in string.h, define them here.
This commit is contained in:
Mattias Walström committed 2013-01-29 13:29:45 +01:00
1 parent 73b43b4f2b
commit 407a47dd12
6 files changed
+77 -5

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ EXEC = finit reboot
HEADERS = plugin.h svc.h helpers.h queue.h
DISTFILES = LICENSE README ChangeLog finit.conf services
OBJS = finit.o conf.o helpers.o sig.o svc.o plugin.o
OBJS += strlcpy.o tty.o
OBJS += tty.o
SRCS = $(OBJS:.o=.c)
DEPS = $(addprefix .,$(SRCS:.c=.d))