diff --git a/src/rx/rx_user.c b/src/rx/rx_user.c index 4f331e44e6..05164576f8 100644 --- a/src/rx/rx_user.c +++ b/src/rx/rx_user.c @@ -46,6 +46,14 @@ #define IPPORT_USERRESERVED 5000 # endif +#if defined(HAVE_LINUX_ERRQUEUE_H) && defined(ADAPT_PMTU) +#include +#include +#ifndef IP_MTU +#define IP_MTU 14 +#endif +#endif + #ifndef AFS_NT40_ENV # include #endif @@ -103,13 +111,6 @@ rxi_GetHostUDPSocket(u_int ahost, u_short port) int pmtu=IP_PMTUDISC_DONT; #endif #endif -#if defined(HAVE_LINUX_ERRQUEUE_H) && defined(ADAPT_PMTU) -#include -#include -#ifndef IP_MTU -#define IP_MTU 14 -#endif -#endif #if !defined(AFS_NT40_ENV) if (ntohs(port) >= IPPORT_RESERVED && ntohs(port) < IPPORT_USERRESERVED) {