From 976eedf2eb3dba06d2b6a3a84881acedabf9e02f Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Thu, 10 Jul 2014 13:58:24 +0000 Subject: Stop including standard headers via cryptlib.h - pull in the headers that are needed in the source files that actually require them. ok beck@ miod@ --- lib/libcrypto/objects/obj_dat.c | 6 ++++-- lib/libcrypto/objects/obj_lib.c | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/libcrypto/objects') diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index 72f275fb7d5..7221cbc847f 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_dat.c,v 1.27 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.28 2014/07/10 13:58:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,9 +56,11 @@ * [including the GNU Public Licence.] */ -#include #include #include +#include +#include + #include "cryptlib.h" #include #include diff --git a/lib/libcrypto/objects/obj_lib.c b/lib/libcrypto/objects/obj_lib.c index 4abaaaf1aa9..41e0af696ea 100644 --- a/lib/libcrypto/objects/obj_lib.c +++ b/lib/libcrypto/objects/obj_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_lib.c,v 1.10 2014/06/12 15:49:30 deraadt Exp $ */ +/* $OpenBSD: obj_lib.c,v 1.11 2014/07/10 13:58:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -57,6 +57,8 @@ */ #include +#include + #include "cryptlib.h" #include #include -- cgit v1.2.3