diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2022-07-23 09:49:41 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2022-07-24 20:32:49 -0700 |
commit | 02cdfa5b754f00c860b56bf0571caec5a094492c (patch) | |
tree | 5f051f3575746b97b2c0ff3ea7039d78e63365c3 /util/log.cpp | |
parent | da30e55dfd514dbe14ece3bcf3eaec794ca8d892 (diff) | |
download | gjs-02cdfa5b754f00c860b56bf0571caec5a094492c.tar.gz |
maint: Fix IWYU includes in files that previously failed
Due to the bug fixed by the previous commit, many files' includes had
gotten out of sync. This fixes all of the IWYU complaints.
We need to add some lines to the mapping file, either due to an IWYU
upgrade or changes in the header files; I'm not sure. It's annoying that
we have to list all the glib/*.h files separately, but that is for two
reasons: there is no glob for glib/* that can leave out <glib/gstdio.h>
and other public GLib headers; and glib/galloca.h should redirect to the
system alloca.h.
Diffstat (limited to 'util/log.cpp')
-rw-r--r-- | util/log.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/log.cpp b/util/log.cpp index 3f5b52d4..410b6a2c 100644 --- a/util/log.cpp +++ b/util/log.cpp @@ -8,6 +8,7 @@ #include <type_traits> // for remove_reference<>::type #include <errno.h> +#include <fcntl.h> // for SEEK_END #include <stdarg.h> #include <stdio.h> // for FILE, fprintf, fflush, fopen, fputs, fseek #include <string.h> // for strchr, strcmp |