As a fork of DOSBox, DOSBox-X retains compatibility with the wide base of DOS games DOSBox was designed for. It also goes further, with a focus on accurate emulation of the hardware, and many more ways to tweak and configure the DOS virtual machine. The DOSBox-X team believes that a better way to emulate the legacy PC platform is to give the user all the options they need to emulate everything from original IBM PC hardware with 64KB of RAM all the way up to late 90's hardware, whatever it takes to get that game or software package to run.
20 lines
536 B
C
20 lines
536 B
C
$NetBSD: patch-include_byteorder.h,v 1.1 2019/09/22 09:54:14 nia Exp $
|
|
|
|
Include the correct endian.h on NetBSD.
|
|
|
|
--- include/byteorder.h.orig 2018-11-22 06:17:27.000000000 +0000
|
|
+++ include/byteorder.h
|
|
@@ -115,11 +115,11 @@
|
|
#define _BSD_SOURCE
|
|
#include <endian.h>
|
|
|
|
-#elif defined(__OpenBSD__)
|
|
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
|
|
|
|
#include <sys/endian.h>
|
|
|
|
-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
|
|
|
#include <sys/endian.h>
|
|
|