mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Only include time.h on systems that lack struct timespec which
gets defind in compat.h (using time_t).
This commit is contained in:
@@ -14,10 +14,13 @@
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#ifndef HAVE_TIMESPEC
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
|
Reference in New Issue
Block a user