Skip to content

Commit 3dcdbe7

Browse files
committed
WireGuardKitC: fix build with Xcode 16b1
This commit fixes build errors of the WireGuardKitC target appearing with Xcode 16b1. Errors are: > Declaration of 'u_int32_t'/'u_char'/'u_int16_t' must be imported from module 'DarwinFoundation.unsigned_types.*' before it is required"
1 parent 2fec12a commit 3dcdbe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/WireGuardKitC/WireGuardKitC.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: MIT
22
// Copyright © 2018-2023 WireGuard LLC. All Rights Reserved.
33

4+
#include <sys/types.h>
5+
46
#include "key.h"
57
#include "x25519.h"
68

0 commit comments

Comments
 (0)