[MTHCA] fixed a build break.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 31 Mar 2009 07:59:41 +0000 (07:59 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 31 Mar 2009 07:59:41 +0000 (07:59 +0000)
Signed off by: Stan Smith

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2068 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/hca/wmi.c

index ed190bf..3a95832 100644 (file)
@@ -39,6 +39,9 @@
 #else\r
 \r
 #if defined(EVENT_TRACING)\r
+#ifdef offsetof\r
+#undef offsetof\r
+#endif\r
 #include "wmi.tmh"\r
 #endif\r
 \r