From c1b2ebc66e978bed218c48a19cff9f21002ada7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 10 Jul 2023 18:04:21 +0800 Subject: [PATCH] CI: fix compiling errors --- src/common/processing_linux.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/processing_linux.c b/src/common/processing_linux.c index 6681bc681..1cd1ce3bd 100644 --- a/src/common/processing_linux.c +++ b/src/common/processing_linux.c @@ -11,8 +11,7 @@ #ifdef __linux__ #include - #include - #include + #include #endif #define FF_WAIT_TIMEOUT 1000 @@ -33,7 +32,7 @@ int waitpid_timeout(pid_t pid, int* status) else if (res == 0) { kill(pid, SIGTERM); - return -ETIME; + return -62; // -ETIME } return -1; } @@ -51,7 +50,7 @@ int waitpid_timeout(pid_t pid, int* status) else { kill(pid, SIGTERM); - return -ETIME; + return -62; // -ETIME } } }