Include sys/time.h to use gettimeofday()

This commit is contained in:
Koichiro IWAO 2017-10-06 10:50:54 +09:00
parent 8085d898b0
commit 844799049e
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

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
*/