aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2021-05-12 19:48:02 +0000
committerMark Linimon <linimon@FreeBSD.org>2021-05-12 20:55:56 +0000
commitb7143c6b8b23fa22bfd88c8c13159b2af33e377d (patch)
treec1738cc214461964f743f5a5ec2364e98481b6f4
parent2afa943f94c5350c2d87786fb1f2bc6452efbd20 (diff)
downloadports-b7143c6b8b23fa22bfd88c8c13159b2af33e377d.tar.gz
ports-b7143c6b8b23fa22bfd88c8c13159b2af33e377d.zip
patch-chm.c: use correct __defined__ for riscv64 to fix build there.
-rw-r--r--sysutils/consolehm/files/patch-chm.c2
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