| @@ -1,14 +1,12 @@ | | | @@ -1,14 +1,12 @@ |
1 | $NetBSD: patch-aa,v 1.1 2011/11/23 19:23:52 marino Exp $ | | 1 | $NetBSD: patch-aa,v 1.2 2011/11/24 14:18:30 joerg Exp $ |
2 | | | 2 | |
3 | --- kernel/fhdl_stream.cc.orig 2006-01-12 08:05:01.000000000 +0000 | | 3 | --- kernel/fhdl_stream.cc.orig 2011-11-24 00:24:28.000000000 +0000 |
4 | +++ kernel/fhdl_stream.cc | | 4 | +++ kernel/fhdl_stream.cc |
5 | @@ -6,6 +6,9 @@ | | 5 | @@ -4,6 +4,7 @@ |
| | | 6 | #endif |
| | | 7 | #include <sstream> |
6 | #include <assert.h> | | 8 | #include <assert.h> |
| | | 9 | +#include <string.h> |
7 | #include <freehdl/kernel-error.hh> | | 10 | #include <freehdl/kernel-error.hh> |
8 | #include <freehdl/kernel-fhdl-stream.hh> | | 11 | #include <freehdl/kernel-fhdl-stream.hh> |
9 | +#if defined (__DragonFly__) | | | |
10 | +#include <string.h> | | | |
11 | +#endif | | | |
12 | | | | |
13 | | | 12 | |
14 | // Error stream to output error messages generated by the kernel, | | | |