diff options
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r-- | src/transport/gnunet-communicator-unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c index 148f7f886..53b6cf8be 100644 --- a/src/transport/gnunet-communicator-unix.c +++ b/src/transport/gnunet-communicator-unix.c @@ -57,7 +57,11 @@ /** * Our MTU. */ +#ifdef LINUX #define UNIX_MTU UINT16_MAX +#else +#define UNIX_MTU 2048 +#endif GNUNET_NETWORK_STRUCT_BEGIN |