summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gr_logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/gr_logger.h')
-rw-r--r--gnuradio-runtime/include/gr_logger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gr_logger.h b/gnuradio-runtime/include/gr_logger.h
index 2c1ee8d8ad..0e82c5134e 100644
--- a/gnuradio-runtime/include/gr_logger.h
+++ b/gnuradio-runtime/include/gr_logger.h
@@ -43,6 +43,10 @@
#include <boost/thread.hpp>
#include <boost/format.hpp>
+#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+typedef int mode_t;
+#endif
+
#ifdef ENABLE_GR_LOG
// We have three configurations... first logging to stdout/stderr