blob: 9d4c04918e0e4284d44cb0d3835b74baa8542fa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-hostopts.h,v 1.1 2011/05/01 23:28:59 ryoon Exp $
--- hostopts.h.orig 2010-01-08 22:56:27.000000000 +0000
+++ hostopts.h
@@ -272,7 +272,7 @@
/*-------------------------------------------------------------------*/
/* Hard-coded FreeBSD-specific features and options... */
/*-------------------------------------------------------------------*/
-#elif defined(__FreeBSD__) /* "FreeBSD" options */
+#elif defined(__FreeBSD__) || defined(__NetBSD__)/* "BSD" options */
#define DLL_IMPORT extern
#define DLL_EXPORT
@@ -295,6 +295,14 @@
#undef OPTION_EXTCURS /* Normal cursor handling */
+/* These should become configure checks */
+# if defined(__NetBSD__)
+# define OPTION_SCSI_TAPE /* SCSI tape support */
+# endif
+# if !defined(SOL_TCP)
+# define SOL_TCP IPPROTO_TCP
+# endif
+
/*-------------------------------------------------------------------*/
/* GNU Linux options... */
/*-------------------------------------------------------------------*/
|