1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00

Replace sys/time.h with proper includes for using localtime

Sure deraadt@
This commit is contained in:
gnezdo 2024-08-06 04:59:18 +00:00
parent 2293e68203
commit 46cdafa7e1

View File

@ -1,4 +1,4 @@
/* $OpenBSD: timestamp.c,v 1.12 2024/04/09 15:08:21 cheloha Exp $ */
/* $OpenBSD: timestamp.c,v 1.13 2024/08/06 04:59:18 gnezdo Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@ -24,7 +24,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <stdio.h>
#include <string.h>
#include "defines.h"