You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
In the WireGuardKitC an #include is missing when compiling in the latest Xcode v16. Declaration of u_int32_t, u_char and u_int16_t require an explicit import of sys/types.h.
Add
#include "sys/types.h"
to WireGuardKitC to fix the problem.
Steps to reproduce
Build the Demo app on a upgraded macOS with Xcode 16
What is the current bug behavior?
Demo and WireGuardKitC code does not compile
What is the expected correct behavior?
No compiler warnings
Relevant logs and/or screenshots
Declaration of 'u_int32_t' must be imported from module 'DarwinFoundation.unsigned_types.u_int32_t' before it is required
Possible fixes suggested remediation
Add
#include "sys/types.h"
to WireGuardKitC to fix the problem.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
In the WireGuardKitC an #include is missing when compiling in the latest Xcode v16. Declaration of u_int32_t, u_char and u_int16_t require an explicit import of sys/types.h.
Add
#include "sys/types.h"
to WireGuardKitC to fix the problem.
Steps to reproduce
Build the Demo app on a upgraded macOS with Xcode 16
What is the current bug behavior?
Demo and WireGuardKitC code does not compile
What is the expected correct behavior?
No compiler warnings
Relevant logs and/or screenshots
Declaration of 'u_int32_t' must be imported from module 'DarwinFoundation.unsigned_types.u_int32_t' before it is required
Possible fixes suggested remediation
Add
#include "sys/types.h"
to WireGuardKitC to fix the problem.
The text was updated successfully, but these errors were encountered: