1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-03 23:23:03 +00:00

Cleanup mkvdate.c includes. (#81)

All platforms need `<time.h>` for `time` / `ctime`.
All non-DOS platforms need `<sys/time.h>` for `gettimeofday()`.
This commit is contained in:
Bruce Mitchener
2020-12-16 14:04:28 +07:00
committed by GitHub
parent 6b590edafc
commit 2050ae69a6

View File

@@ -28,14 +28,10 @@ static char *id = "$Id: mkvdate.c,v 1.5 2001/12/26 22:17:03 sybalsky Exp $ Copyr
/* */
/************************************************************************/
#if defined(LINUX)
#include "time.h"
#endif
#include <stdio.h>
#ifdef DOS
#include <time.h>
#else
#ifndef DOS
#include <sys/time.h>
#endif /* DOS */