From 168d74ab0e38f1e127393e45fed2dcf7e391b8fb Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 12 Sep 2022 18:34:19 -0700 Subject: [PATCH] IWYU --- src/builtins/string.cpp | 1 + src/fallback.cpp | 2 +- src/fallback.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtins/string.cpp b/src/builtins/string.cpp index 9c90cc888..e1d7a91a8 100644 --- a/src/builtins/string.cpp +++ b/src/builtins/string.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/src/fallback.cpp b/src/fallback.cpp index ee52a6a8a..a9ad1e1fc 100644 --- a/src/fallback.cpp +++ b/src/fallback.cpp @@ -9,10 +9,10 @@ #include // IWYU pragma: keep #include // IWYU pragma: keep #include // IWYU pragma: keep -#include #include #include +#include #if HAVE_GETTEXT #include #endif diff --git a/src/fallback.h b/src/fallback.h index 6cfdb2041..79ed82812 100644 --- a/src/fallback.h +++ b/src/fallback.h @@ -3,7 +3,6 @@ #include "config.h" -#include // The following include must be kept despite what IWYU says. That's because of the interaction // between the weak linking of `wcscasecmp` via `#define`s below and the declarations // in . At least on OS X if we don't do this we get compilation errors do to the macro