blob: 435f01f13ca17a0df1009c941891a67095c212bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ac,v 1.2 2014/12/09 13:53:13 mef Exp $
Add NetBSD
--- libbif.c.orig 2014-08-12 04:39:14.000000000 +0900
+++ libbif.c 2014-12-09 22:18:29.000000000 +0900
@@ -23,11 +23,11 @@
#include <sys/fcntl.h>
#endif
-#if defined(OSV5) || defined(linux) || defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
+#if defined(OSV5) || defined(linux) || defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) || defined(__NetBSD__)
#include <string.h>
#endif
-#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif
|