From f32823f7ec7bc50c8c610fa212aa86ce9a201031 Mon Sep 17 00:00:00 2001 From: Moody Liu Date: Mon, 11 Dec 2023 18:33:44 +0000 Subject: [PATCH] make sure _GNU_SOURCE is defined need to get CBAUD, etc. --- options/posix/generic/termios-stubs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/options/posix/generic/termios-stubs.cpp b/options/posix/generic/termios-stubs.cpp index 633f1a9a3a..631456aa53 100644 --- a/options/posix/generic/termios-stubs.cpp +++ b/options/posix/generic/termios-stubs.cpp @@ -1,3 +1,6 @@ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif #include #include