[gjs/ewlsh/nova-repl] IWYU updates
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/ewlsh/nova-repl] IWYU updates
- Date: Sat, 4 Sep 2021 08:01:45 +0000 (UTC)
commit 617976b73698f4eab7744d8146a98f0c74508a4c
Author: Evan Welsh <contact evanwelsh com>
Date: Sat Sep 4 00:49:55 2021 -0700
IWYU updates
tools/gjs-private-iwyu.imp | 1 +
util/console.cpp | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/tools/gjs-private-iwyu.imp b/tools/gjs-private-iwyu.imp
index 502e6b43..842ff9fd 100644
--- a/tools/gjs-private-iwyu.imp
+++ b/tools/gjs-private-iwyu.imp
@@ -8,6 +8,7 @@
{"include": ["<bits/types/siginfo_t.h>", "private", "<signal.h>", "public"]},
{"include": ["<bits/types/struct_itimerspec.h>", "private", "<time.h>", "public"]},
{"include": ["<bits/types/timer_t.h>", "private", "<sys/types.h>", "public"]},
+ {"include": ["@<bits/termios-.*>", "private", "<termios.h>", "public"]},
{"include": ["@<ffi.*>", "private", "<ffi.h>", "public"]},
{"include": ["@\"gio/.*\"", "private", "<gio/gio.h>", "public"]},
diff --git a/util/console.cpp b/util/console.cpp
index 69137278..82ddcc09 100644
--- a/util/console.cpp
+++ b/util/console.cpp
@@ -12,6 +12,7 @@
#endif
#ifdef HAVE_TERMIOS_H
+# include <stdlib.h>
# include <termios.h>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]