summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-02-26 18:13:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-02-26 18:13:23 +0000
commit038a1e89f25b3e4a31de92099e3b404031570c38 (patch)
tree15737b998c4feb8a39a07d88420d96d3fcb6aa06
parent1e1e9c87e84cb62bcd083940f7cf6e03b2167f5e (diff)
Define HAS_snprintf too; deraadt@ OK
-rw-r--r--lib/libz/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index a2e63395382..86e140cfd7c 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2003/02/23 23:17:01 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2003/02/26 18:13:22 millert Exp $
LIB= z
HDRS= zconf.h zlib.h
@@ -6,7 +6,8 @@ SRCS= adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c \
uncompr.c zutil.c
NOMAN= noman
-CFLAGS+=-DHAVE_UNISTD_H -DHAVE_STRERROR -DHAVE_MEMCPY -DHAS_vsnprintf
+CFLAGS+=-DHAVE_UNISTD_H -DHAVE_STRERROR -DHAVE_MEMCPY -DHAS_vsnprintf \
+ -DHAS_snprintf
includes:
@cd ${.CURDIR}; for i in $(HDRS); do \