From dc634f4d49c98a7c0243b568631c626cd3da4125 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 13 Mar 2021 22:11:07 +0100 Subject: [PATCH 2/8] Disable checkBuf() on serenity Co-Authored-By: Valtteri Koskivuori --- src/utils/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fileio.c b/src/utils/fileio.c index 6365973..2edfed8 100644 --- a/src/utils/fileio.c +++ b/src/utils/fileio.c @@ -147,7 +147,7 @@ bool isValidFile(char *path) { //Wait for 2 secs and abort if nothing is coming in from stdin void checkBuf() { -#ifndef WINDOWS +#if !defined(WINDOWS) && !defined(__serenity__) fd_set set; struct timeval timeout; int rv; -- 2.36.1