]> granicus.if.org Git - sudo/commitdiff
Include sys/time.h for utimes() and struct timeval.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 13 Sep 2010 17:17:26 +0000 (13:17 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 13 Sep 2010 17:17:26 +0000 (13:17 -0400)
No longer need ioctl.h or termios.h

common/lbuf.c

index b732f3fada116b62ee77e5c24219820ca42c8822..e2669447ad6800ef3881b6bcee423aaf072cafac 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <sys/types.h>
 #include <sys/param.h>
-#include <sys/ioctl.h>
+#include <sys/time.h>
 #include <stdio.h>
 #ifdef STDC_HEADERS
 # include <stdlib.h>
@@ -43,7 +43,6 @@
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
 #include <ctype.h>
-#include <termios.h>
 
 #include "missing.h"
 #include "alloc.h"