Skip to content

Commit

Permalink
win: include stdlib.h for mbstowcs_s, wcstombs_s
Browse files Browse the repository at this point in the history
This used to come in transitively via <vector>, but upstream libc++
cleaned up its <vector> a bit and this is no longer true with new
libc++ versions.

No behavior change.

Bug: chromium:376278210
Change-Id: I658f500cfd0e3a33c260d34302557b3ceb2799ca
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5994352
Reviewed-by: Mark Mentovai <mark@chromium.org>
  • Loading branch information
nico authored and markmentovai committed Nov 13, 2024
1 parent 47f7823 commit c6ec710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/windows/string_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <config.h> // Must come first
#endif

#include <stdlib.h>

#include <cassert>
#include <vector>

Expand Down

0 comments on commit c6ec710

Please sign in to comment.