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:
Martin Willi
2014-12-16 17:22:28 +01:00
parent 6fa203b8d4
commit 04337fed02
4 changed files with 13 additions and 3 deletions
+3 -3
View File
@@ -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
*