From 6cf55e250333dd1278daa51a90d18a6c98d044cd Mon Sep 17 00:00:00 2001 From: beck <> Date: Sun, 13 Jul 2014 10:27:22 +0000 Subject: Take out __bounded__ in the include files we use it in when not on OpenBSD. while we can take it out in portable at compile time, it is still a problem when we install this header file on a system that doesn't support __bounded__ if this is unguarded. ok miod@ bcook@ --- src/lib/libcrypto/bio/bio.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/bio') diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index cc5ef618b5..59f916f085 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bio.h,v 1.24 2014/06/22 14:41:10 jsing Exp $ */ +/* $OpenBSD: bio.h,v 1.25 2014/07/13 10:27:22 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -58,7 +58,9 @@ #ifndef HEADER_BIO_H #define HEADER_BIO_H - +#if !defined(HAVE_ATTRIBUTE__BOUNDED__) || !defined(__OpenBSD__) +#define __bounded__(x, y, z) +#endif #include # include -- cgit v1.2.3-55-g6feb