commit 84c906a74dea63400cc684f4908cc52793ec1825 from: Benjamin Stürz date: Mon Jun 03 10:45:19 2024 UTC port to FreeBSD commit - 2e032d404070bcc82a37fed6665426f1846bce43 commit + 84c906a74dea63400cc684f4908cc52793ec1825 blob - c759b7a1df1590c07f02959f3af8069962e1c306 blob + fa95b31e6c25c5800370bb1486a18a20d432fe7b --- scores.c +++ scores.c @@ -52,6 +52,12 @@ #include #include #include + +#ifdef __FreeBSD__ +# include +# define swap32 bswap32 +# define swap64 bswap64 +#endif #include "pathnames.h" #include "screen.h" blob - d00f79db4bbe1a8f0f3d8c15a8574716e38048a4 blob + 94b4c00e26c1fb64f5e6f4cf9afef7147badf02b --- tetris.h +++ tetris.h @@ -36,6 +36,16 @@ #include +#ifndef __dead +# ifdef __dead2 +# define __dead __dead2 +# else +# define __dead +# endif +#endif + + + /* * Definitions for Tetris. */