diff --git a/Drv/Ip/UdpSocket.hpp b/Drv/Ip/UdpSocket.hpp index ac1a6e8ad0..e065c1e20d 100644 --- a/Drv/Ip/UdpSocket.hpp +++ b/Drv/Ip/UdpSocket.hpp @@ -20,6 +20,13 @@ #ifdef TGT_OS_TYPE_VXWORKS #include #include + +// Undefine these Vxworks-defined macros because +// they collide with member variables in F Prime. +// These macros are defined somewhere in inetLib.h. +#undef m_type +#undef m_data + #else #include #include