diff --git a/libc/include/sys/time.h b/libc/include/sys/time.h index 67107c605..f60c905e8 100644 --- a/libc/include/sys/time.h +++ b/libc/include/sys/time.h @@ -25,6 +25,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _SYS_TIME_H_ #define _SYS_TIME_H_ @@ -32,6 +33,9 @@ #include #include +/* POSIX says gets you most of and may get you all of it. */ +#include + __BEGIN_DECLS extern int gettimeofday(struct timeval *, struct timezone *);