From 21d44ebec7dbdd55709dd52f6d940ce8c55cb423 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 21 Jun 2020 21:26:21 +0000 Subject: minisat: add missing include guard for WASI. Including signal.h used to be allowed in WASI by mistake, but it's an error since SDK 11. --- libs/minisat/System.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/minisat/System.cc') diff --git a/libs/minisat/System.cc b/libs/minisat/System.cc index 345be8c4c..807e46c69 100644 --- a/libs/minisat/System.cc +++ b/libs/minisat/System.cc @@ -24,7 +24,9 @@ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. **************************************************************************************************/ +#if !defined(__wasm) #include +#endif #include #include "System.h" -- cgit v1.2.3