summaryrefslogtreecommitdiff
path: root/usr.bin/compress/gzopen.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
commitff1eebe32bb029e20710e7ca1756911d42d46fbf (patch)
tree009ea3b0cb6633dd34add944159e34a4915266d3 /usr.bin/compress/gzopen.c
parent6c3b78320db59d66733755dd77e5d095dec46f61 (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'usr.bin/compress/gzopen.c')
-rw-r--r--usr.bin/compress/gzopen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/compress/gzopen.c b/usr.bin/compress/gzopen.c
index f821b9e996d..b73ed5d2422 100644
--- a/usr.bin/compress/gzopen.c
+++ b/usr.bin/compress/gzopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gzopen.c,v 1.10 2003/07/08 00:30:12 mickey Exp $ */
+/* $OpenBSD: gzopen.c,v 1.11 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -59,12 +59,13 @@
*/
const char gz_rcsid[] =
- "$OpenBSD: gzopen.c,v 1.10 2003/07/08 00:30:12 mickey Exp $";
+ "$OpenBSD: gzopen.c,v 1.11 2003/07/10 00:06:50 david Exp $";
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <zlib.h>