krzyzanowskim / OpenSSL

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

Missing type definitions when building for simulator #196

Closed nrbrook closed 3 months ago

nrbrook commented 3 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 3 months ago

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