krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
926 stars 340 forks source link

Missing type definitions when building for simulator #196

Closed nrbrook closed 7 months ago

nrbrook commented 8 months ago

I'm using the main branch via SwiftPM. When building for iOS simulator on Apple Silicon I'm getting these errors:

Screenshot 2024-03-22 at 14 17 36 Screenshot 2024-03-22 at 14 14 58
Unknown type name 'uint32_t'
nrbrook commented 7 months ago

I'm not sure what was going on here, but including <stdint.h> before OpenSSL fixed it.