Remove use of AC_HEADER_TIME, only obsolete platforms actually

need this.  Also stop removing sys/time.h unless the source file
uses struct timeval.
This commit is contained in:
Todd C. Miller
2018-01-17 09:52:15 -07:00
parent b161ebe62d
commit a885b952fb
23 changed files with 80 additions and 167 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 1998-2005, 2007-2015
* Copyright (c) 1996, 1998-2005, 2007-2015, 2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -32,7 +32,6 @@ struct rtentry;
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFCONF)
# include <sys/sockio.h>