Skip to content

Commit

Permalink
WireGuardKitC: fix build with Xcode 16b1
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
McNight committed Jun 24, 2024
1 parent 2fec12a commit 3dcdbe7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/WireGuardKitC/WireGuardKitC.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// SPDX-License-Identifier: MIT
// Copyright © 2018-2023 WireGuard LLC. All Rights Reserved.

#include <sys/types.h>

#include "key.h"
#include "x25519.h"

Expand Down

0 comments on commit 3dcdbe7

Please sign in to comment.