summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2024-04-24 16:02:15 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2024-04-26 01:45:56 +0200
commita4c663507755ea645ac0acd7333d4750f01d28f7 (patch)
treedd09784de807612a51c1195805325af2d8d0d094 /src/corelib/io
parente061491209f7eba3bfaa79ae48b0a84d2c7cea2d (diff)
Add the missing include of termios.h
The include unlocks the usage of the TIOCNOTTY constant. Fixes: QTBUG-124642 Change-Id: Ife2475626ca61efe38ea7928a9b61a8aded1701d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qprocess_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp
index fcbce92ade..5c696433fd 100644
--- a/src/corelib/io/qprocess_unix.cpp
+++ b/src/corelib/io/qprocess_unix.cpp
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/resource.h>
+#include <termios.h>
#include <unistd.h>
#if __has_include(<paths.h>)