From a3ab58b172a1699a973579ba4d607f0babf35d27 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 12 Sep 2016 19:35:32 +0000 Subject: Change the (unused) restimespec member of __res_state from a timespec to a local equivalent to eliminate a dependency on being included ok deraadt@ millert@ --- include/resolv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/resolv.h') diff --git a/include/resolv.h b/include/resolv.h index c786e0e227a..ba38c70968f 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resolv.h,v 1.20 2015/09/25 23:32:51 guenther Exp $ */ +/* $OpenBSD: resolv.h,v 1.21 2016/09/12 19:35:31 guenther Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -148,7 +148,7 @@ struct __res_state { u_int32_t mask; } sort_list[MAXRESOLVSORT]; char lookups[MAXDNSLUS]; - struct timespec restimespec; + struct { time_t __res_sec; long __res_nsec; } restimespec; time_t reschktime; }; -- cgit v1.2.3