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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user