Include errno.h before using errno in the string unit test

This fixes compilation after the changes of abe5da9875 (Restore value of
errno after wxString::ToInt()/Long()/etc., 2023-01-03) under some
platforms, where this header doesn't get included from elsewhere, and
it's better to explicitly include the headers we need anyhow.

See #23113.
This commit is contained in:
Vadim Zeitlin
2024-03-12 16:53:04 +01:00
parent c8c9b10c15
commit fec936b848
+2
View File
@@ -19,6 +19,8 @@
#include "wx/private/localeset.h"
#include <errno.h>
// ----------------------------------------------------------------------------
// test class
// ----------------------------------------------------------------------------