Move declatation of struct timespec to its own include files for

systems without it since it needs time_t defined.
This commit is contained in:
Todd C. Miller
2005-06-23 03:04:35 +00:00
parent 9800e99ffc
commit 3bb5c181b0
2 changed files with 3 additions and 7 deletions

View File

@@ -51,6 +51,9 @@
#include <time.h>
#include <pwd.h>
#include <grp.h>
#ifndef HAVE_TIMESPEC
# include <emul/timespec.h>
#endif
#include "sudo.h"