X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fraw_socket.hxx;h=4eb304488847c9bfef2280db90f127b22ac87e44;hb=425d83c49755542a6581358a9ce9289a58f7f97d;hp=f68ff105b35cc9c2b9a97d47ddb768da0dc80c65;hpb=6b3a05e23fc8f8121f24824711917e7255f17fa8;p=simgear.git diff --git a/simgear/io/raw_socket.hxx b/simgear/io/raw_socket.hxx index f68ff105..4eb30448 100644 --- a/simgear/io/raw_socket.hxx +++ b/simgear/io/raw_socket.hxx @@ -25,7 +25,7 @@ #include -#if defined(__APPLE__) +#if defined(__APPLE__) || defined(__FreeBSD__) # include #endif @@ -38,7 +38,7 @@ namespace simgear class IPAddress { /* DANGER!!! This MUST match 'struct sockaddr_in' exactly! */ -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__FreeBSD__) __uint8_t sin_len; __uint8_t sin_family; in_port_t sin_port;