summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/src/gb/gprs_ns_frgre.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/src/gb/gprs_ns_frgre.c')
-rw-r--r--src/shared/libosmocore/src/gb/gprs_ns_frgre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/libosmocore/src/gb/gprs_ns_frgre.c b/src/shared/libosmocore/src/gb/gprs_ns_frgre.c
index 23443812..e557c7e8 100644
--- a/src/shared/libosmocore/src/gb/gprs_ns_frgre.c
+++ b/src/shared/libosmocore/src/gb/gprs_ns_frgre.c
@@ -48,7 +48,7 @@ struct gre_hdr {
uint16_t ptype;
} __attribute__ ((packed));
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__APPLE__)
/**
* On BSD the IPv4 struct is called struct ip and instead of iXX
* the members are called ip_XX. One could change this code to use