forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pothos: fix the build against poco-1.14
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Submodule blocks contains modified content | ||
diff --git a/blocks/file/BinaryFileSink.cpp b/blocks/file/BinaryFileSink.cpp | ||
index 31c9a41..0083b0d 100644 | ||
--- a/blocks/file/BinaryFileSink.cpp | ||
+++ b/blocks/file/BinaryFileSink.cpp | ||
@@ -13,6 +13,7 @@ | ||
#endif //_MSC_VER | ||
#include <stdio.h> | ||
#include <cerrno> | ||
+#include <cstring> | ||
|
||
#ifndef O_BINARY | ||
#define O_BINARY 0 | ||
diff --git a/blocks/file/BinaryFileSource.cpp b/blocks/file/BinaryFileSource.cpp | ||
index 0151231..379d383 100644 | ||
--- a/blocks/file/BinaryFileSource.cpp | ||
+++ b/blocks/file/BinaryFileSource.cpp | ||
@@ -13,6 +13,7 @@ | ||
#endif //_MSC_VER | ||
#include <stdio.h> | ||
#include <cerrno> | ||
+#include <cstring> | ||
|
||
#ifndef O_BINARY | ||
#define O_BINARY 0 | ||
diff --git a/blocks/file/TextFileSink.cpp b/blocks/file/TextFileSink.cpp | ||
index b4b2f08..2be66e2 100644 | ||
--- a/blocks/file/TextFileSink.cpp | ||
+++ b/blocks/file/TextFileSink.cpp | ||
@@ -6,6 +6,7 @@ | ||
#include <complex> | ||
#include <fstream> | ||
#include <cerrno> | ||
+#include <cstring> | ||
|
||
/*********************************************************************** | ||
* |PothosDoc Text File Sink | ||
Submodule soapy contains modified content | ||
diff --git a/soapy/DemoController.cpp b/soapy/DemoController.cpp | ||
index 4ce8ead..9a4e742 100644 | ||
--- a/soapy/DemoController.cpp | ||
+++ b/soapy/DemoController.cpp | ||
@@ -6,6 +6,7 @@ | ||
#include <iostream> | ||
#include <chrono> | ||
#include <algorithm> //min/max | ||
+#include <cstring> | ||
|
||
/*********************************************************************** | ||
* |PothosDoc SDR Demo Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters