summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 01:08:03 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 01:08:03 +0000
commit6dba6af7e803e9a5ae0220034ae88c6c577ca908 (patch)
tree05ca88e1eb0fd7dc97d77a4a998f96ac77e133f8
parent763c5e8ca0b23e8f5bee2e1df5c7c018446627de (diff)
no user includes in standalone
-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 e171b982d52..479ce78e609 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.2 1997/02/07 13:26:33 mickey Exp $ */
+/* $Id: zutil.h,v 1.3 1997/07/18 01:08:02 mickey 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