Skip to content

Commit

Permalink
Fix missing "#include" causing GitHub Actions failure (#92)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #92

fbjni OSS tests will build a binary using `ubuntu-latest` Clang + stdlibc++ toolchain. https://github.com/facebookincubator/fbjni/blob/main/scripts/run-host-tests.sh

The stdlib version changed, and now we fail to build, because `#include <string>` or another header is no longer pulling in `<cstdint>` for us.

Reviewed By: cipolleschi

Differential Revision: D51146182

fbshipit-source-id: 1bc532b36b8acd0f54b454cc9fcc90a9bd4cf245
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Nov 9, 2023
1 parent 408af4e commit 59461ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cxx/fbjni/detail/utf8.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#pragma once

#include <cstdint>
#include <string>

#include <jni.h>
Expand Down

0 comments on commit 59461ef

Please sign in to comment.