apple: Redefine some additional clashing Mach types
While they usually are not included in a normal strongSwan build, the XPC header indirectly defines these Mach types. To build charon-xpc, which uses both XPC and strongSwan includes, we have to redefine these types.
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
#ifndef HOST_H_
|
||||
#define HOST_H_
|
||||
|
||||
#include <utils/utils.h>
|
||||
#include <utils/chunk.h>
|
||||
|
||||
typedef enum host_diff_t host_diff_t;
|
||||
typedef struct host_t host_t;
|
||||
|
||||
@@ -31,9 +34,6 @@ typedef struct host_t host_t;
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <utils/utils.h>
|
||||
#include <utils/chunk.h>
|
||||
|
||||
/**
|
||||
* Representates a Host
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user