mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 08:15:31 +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:
parent
6b590edafc
commit
2050ae69a6
@ -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 */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user