Include sys/time.h to use gettimeofday()

This commit is contained in:
Koichiro IWAO 2017-10-06 10:50:54 +09:00 committed by matt335672
parent d3a751cff8
commit e32671cd79
1 changed files with 2 additions and 1 deletions

View File

@ -32,13 +32,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "log.h"
#include "os_calls.h"
#include "sessionrecord.h"
/*
/*
* Prepare the utmp/ struct and write it.
* this can handle login and logout at once with the 'state' parameter
*/