Files
swift-crypto/scripts/patch-1-inttypes.patch
Cory Benfield bd94260799 Update BoringSSL to fcef13a49852397a0d39c00be8d7bc2ba1ab6fb9 & include C++ files (#303)
* Update package vendoring script

* Update BoringSSL to fcef13a49852397a0d39c00be8d7bc2ba1ab6fb9

* Handle ERR_GET_ERR becoming a function

* Update CMake
2024-11-27 11:24:17 +00:00

26 lines
932 B
Diff

diff --git a/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc b/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
index 93a214e..eee4e58 100644
--- a/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
+++ b/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
@@ -13,6 +13,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#include <CCryptoBoringSSL_hrss.h>
+#include <inttypes.h>
#include <assert.h>
#include <stdio.h>
diff --git a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
index c86c1ef..7013140 100644
--- a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
+++ b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
@@ -126,7 +126,8 @@
#include "CCryptoBoringSSL_base.h"
#include "CCryptoBoringSSL_thread.h"
#include <inttypes.h> // for PRIu64 and friends
+#include <sys/types.h>
#include <stdio.h> // for FILE*
#if defined(__cplusplus)