1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

patch-chm.c: use correct __defined__ for riscv64 to fix build there.

This commit is contained in:
Mark Linimon 2021-05-12 14:48:02 -05:00
parent 2afa943f94
commit b7143c6b8b

View File

@ -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