2
0
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:
Todd C. Miller
2005-02-06 04:01:33 +00:00
parent 90d2f5f50b
commit cea03b5e8f

View File

@@ -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