summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-09-08 04:05:19 +0000
committermillert <millert@openbsd.org>1998-09-08 04:05:19 +0000
commit6ef0ef0af27f78c00d5fee1e4aa623c5c4f1f912 (patch)
tree81cfdeda3c4f20c4197a1d381c344d44f992b3dc /lib
parentnew vioctls, fprio stuff, etc. (diff)
downloadwireguard-openbsd-6ef0ef0af27f78c00d5fee1e4aa623c5c4f1f912.tar.xz
wireguard-openbsd-6ef0ef0af27f78c00d5fee1e4aa623c5c4f1f912.zip
include stand.h if -D_STANDALONE
Diffstat (limited to 'lib')
-rw-r--r--lib/libz/zutil.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h
index e0b7ebc6480..7e8704465df 100644
--- a/lib/libz/zutil.h
+++ b/lib/libz/zutil.h
@@ -8,13 +8,16 @@
subject to change. Applications should only use zlib.h.
*/
-/* @(#) $Id: zutil.h,v 1.3 1998/08/08 20:57:34 millert Exp $ */
+/* @(#) $Id: zutil.h,v 1.4 1998/09/08 04:05:19 millert Exp $ */
#ifndef _Z_UTIL_H
#define _Z_UTIL_H
#include "zlib.h"
+#ifdef _STANDALONE
+#include <stand.h>
+#else
#ifdef STDC
# include <stddef.h>
# include <string.h>
@@ -25,6 +28,7 @@
#else
# include <errno.h>
#endif
+#endif
#ifndef local
# define local static