diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2021-05-12 14:48:02 -0500 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2021-05-12 15:55:56 -0500 |
commit | b7143c6b8b23fa22bfd88c8c13159b2af33e377d (patch) | |
tree | c1738cc214461964f743f5a5ec2364e98481b6f4 /sysutils/consolehm/files/patch-chm.c | |
parent | sysutils/isomaster: Update to 1.3.16 (diff) |
patch-chm.c: use correct __defined__ for riscv64 to fix build there.
Diffstat (limited to 'sysutils/consolehm/files/patch-chm.c')
-rw-r--r-- | sysutils/consolehm/files/patch-chm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/consolehm/files/patch-chm.c b/sysutils/consolehm/files/patch-chm.c index c8476689263b..0a0e80ab7e47 100644 --- a/sysutils/consolehm/files/patch-chm.c +++ b/sysutils/consolehm/files/patch-chm.c @@ -5,7 +5,7 @@ */ +#include <osreldate.h> -+#if (defined(__aarch64__) || defined(__powerpc__) || defined(__riscv64__)) && defined(__FreeBSD__) ++#if (defined(__aarch64__) || defined(__powerpc__) || defined(__riscv__)) && defined(__FreeBSD__) +#include <sys/types.h> +#include <machine/pio.h> +#endif |