summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-aq
blob: bea05e20f67605f3cb99ab77a1e6b49cdf162fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aq,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $

--- lib/system/systemLinux.c	2007/09/29 08:14:52	1.1
+++ lib/system/systemLinux.c	2007/09/29 08:16:09
@@ -32,7 +32,7 @@
 #endif
 
 
-#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(sun)
+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
 #   error This file should not be compiled
 #endif
 
@@ -59,7 +59,7 @@
 #include <net/if.h>
 #include <sys/ioctl.h>
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include "ifaddrs.h"
 #endif