summaryrefslogtreecommitdiff
path: root/ham/gnuradio-core/patches/patch-ac
blob: 25cf63d24ba0413a8e2c956544c54168cdb80680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.2 2006/11/13 16:59:22 wulf Exp $

--- gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc.orig	2006-09-14 07:00:04.000000000 +0930
+++ gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc	2006-10-13 23:24:55.000000000 +0930
@@ -32,6 +32,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 
 gr_file_descriptor_sink::gr_file_descriptor_sink (size_t itemsize, int fd)