mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-04 15:26:16 +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:
@@ -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>
|
#include <stdio.h>
|
||||||
#ifdef DOS
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#else
|
|
||||||
|
#ifndef DOS
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif /* DOS */
|
#endif /* DOS */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user