blob: cbe151083170bddbde42719c39f1de8c4ed55326 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
--- libbif.c.orig 2008-07-17 11:07:10.000000000 -0400
+++ libbif.c
@@ -20,11 +20,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(macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__NetBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif
|