Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 1 | Include locale.h for LC_MESSAGE definition |
| 2 | |
| 3 | This fixes build error |
| 4 | Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp:115:51: error: use of undeclared identifier 'LC_MESSAGES' |
| 5 | return g_variant_new_string(setlocale(LC_MESSAGES, nullptr)); |
| 6 | ^ |
| 7 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=239030] |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | |
| 10 | --- a/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp |
| 11 | +++ b/Source/WebCore/accessibility/atspi/AccessibilityRootAtspi.cpp |
| 12 | @@ -30,6 +30,7 @@ |
| 13 | #include "FrameView.h" |
| 14 | #include "Page.h" |
| 15 | #include <glib/gi18n-lib.h> |
| 16 | +#include <locale.h> |
| 17 | |
| 18 | namespace WebCore { |
| 19 | |