diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-19 17:30:02 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-19 17:30:02 +0000 |
commit | a3b521c01871351010ee31f2796ea9992192bf50 (patch) | |
tree | 7ff2156e549ff4555ab75efdb4c44636782d0355 /emulators/wine/patches | |
parent | 0ad253b75c32fd3a1fd35b473a27dbb8c874c7fc (diff) | |
download | pkgsrc-a3b521c01871351010ee31f2796ea9992192bf50.tar.gz |
Added a missing header to fix the build on NetBSD 3.0.
Fixes PR 35714.
Diffstat (limited to 'emulators/wine/patches')
-rw-r--r-- | emulators/wine/patches/patch-ad | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/emulators/wine/patches/patch-ad b/emulators/wine/patches/patch-ad index 05dd18aaadc..819763752fc 100644 --- a/emulators/wine/patches/patch-ad +++ b/emulators/wine/patches/patch-ad @@ -1,8 +1,19 @@ -$NetBSD: patch-ad,v 1.11 2007/02/17 10:19:38 adam Exp $ +$NetBSD: patch-ad,v 1.12 2007/02/19 17:30:02 rillig Exp $ ---- dlls/iphlpapi/ipstats.c.orig 2007-02-16 22:05:36.000000000 +0100 -+++ dlls/iphlpapi/ipstats.c -@@ -627,7 +627,11 @@ DWORD getNumRoutes(void) +--- dlls/iphlpapi/ipstats.c.orig 2007-02-16 15:48:13.000000000 +0100 ++++ dlls/iphlpapi/ipstats.c 2007-02-17 15:02:32.000000000 +0100 +@@ -27,6 +27,10 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/types.h> ++#if defined(__NetBSD__) ++#include <sys/param.h> ++#endif ++#include <unistd.h> + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif +@@ -627,7 +631,11 @@ DWORD getNumRoutes(void) /* Ignore all entries except for gateway routes which aren't multicast */ @@ -14,7 +25,7 @@ $NetBSD: patch-ad,v 1.11 2007/02/17 10:19:38 adam Exp $ continue; RouteCount++; -@@ -700,8 +704,12 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE +@@ -700,8 +708,12 @@ DWORD getRouteTable(PMIB_IPFORWARDTABLE /* Ignore all entries except for gateway routes which aren't multicast */ |