Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Additional include required in WireGuardKitC with latest Xcode v16 #424

Description

@daniel-wetter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions