blob: 92cbefb15e821abec8bbf5848fcb9f8e98985eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.1 2015/07/02 03:37:49 rodent Exp $
--- src/nv_bios.c.orig 2008-06-02 01:28:36.000000000 -0400
+++ src/nv_bios.c
@@ -23,7 +23,11 @@
*/
#include "nv_include.h"
+#ifdef __NetBSD__
+#include <sys/endian.h>
+#else
#include <byteswap.h>
+#endif
/* FIXME: put these somewhere */
#define SEQ_INDEX VGA_SEQ_INDEX
|