summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-09-08 03:41:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-09-08 03:41:12 +0000
commite1429c84f3a73563c74914038a89d23024d26f4e (patch)
treeb03676120d40dda75ba13baffbb1d7d10698c0da /sys/lib
parentba30ac544dceec03faf855a1175710d6944a6678 (diff)
include stand.h if -D_STANDALONE
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libz/zutil.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libz/zutil.h b/sys/lib/libz/zutil.h
index 07640b2551f..87da71b82f4 100644
--- a/sys/lib/libz/zutil.h
+++ b/sys/lib/libz/zutil.h
@@ -8,7 +8,7 @@
subject to change. Applications should only use zlib.h.
*/
-/* $Id: zutil.h,v 1.5 1998/09/08 03:32:05 millert Exp $ */
+/* $Id: zutil.h,v 1.6 1998/09/08 03:41:11 millert Exp $ */
#ifndef _Z_UTIL_H
#define _Z_UTIL_H
@@ -21,10 +21,14 @@
#else
extern int errno;
#endif
+#ifdef _STANDALONE
+#include <stand.h>
+#else
#ifdef STDC
# include <string.h>
# include <stdlib.h>
#endif
+#endif
#ifndef local
# define local static