diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-23 18:20:43 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-23 18:20:43 -0400 |
| commit | a4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch) | |
| tree | a4137025b4096749341513f44c12d381ceb636bf /lib/time | |
| parent | ecf08ab61fe49101b6c769badf362d21d8699df4 (diff) | |
Lots of cleanups
Diffstat (limited to 'lib/time')
| -rw-r--r-- | lib/time/time.tm | 1 | ||||
| -rw-r--r-- | lib/time/time_defs.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/time/time.tm b/lib/time/time.tm index 456b5f08..d26d7218 100644 --- a/lib/time/time.tm +++ b/lib/time/time.tm @@ -1,4 +1,5 @@ # Time - a module for dealing with dates and times +use <math.h> use ./time_defs.h enum Weekday(Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday) diff --git a/lib/time/time_defs.h b/lib/time/time_defs.h index 30000983..2ae1d9e4 100644 --- a/lib/time/time_defs.h +++ b/lib/time/time_defs.h @@ -1,6 +1,7 @@ #pragma once -#include <time.h> +#include <stdlib.h> #include <sys/time.h> +#include <time.h> typedef struct timeval Time; |
