diff --git a/src/utils/inetAddressUtil.cpp b/src/utils/inetAddressUtil.cpp index a50741f..3f7a43e 100644 --- a/src/utils/inetAddressUtil.cpp +++ b/src/utils/inetAddressUtil.cpp @@ -20,6 +20,12 @@ #define epicsExportSharedSymbols #include +// RTEMS 4.9 doesn't define this, but does implement SIOCGIFNETMASK +// and stores under the ifr_addr union member. +#ifndef ifr_netmask +# define ifr_netmask ifr_addr +#endif + using namespace std; using namespace epics::pvData;