diff options
Diffstat (limited to 'games/battlestar')
-rw-r--r-- | games/battlestar/com6.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/battlestar/com6.c b/games/battlestar/com6.c index 4f24cd3..a7fa41e 100644 --- a/games/battlestar/com6.c +++ b/games/battlestar/com6.c @@ -90,12 +90,14 @@ live() } /* - * sigh -- this program thinks "time" is an int. It's easier to not load - * <time.h> than try and fix it. + * sigh -- this program thinks `clock' and `time' are ints. It's easier + * to hack around this than to fix it properly. */ -#define KERNEL +#define clock not_our_clock +#define time not_our_time #include <sys/time.h> -#undef KERNEL +#undef clock +#undef time post(ch) char ch; |