Compile perftests faster by using ws2tcpip.h instead of window.h + winsock2.h.
Additionally compiles correctly outside of OFED src tree.

signed-off-by: stan smith <[email protected]>

--- a/tests/perftest/perftest.h Tue Apr 13 15:33:09 2010
+++ b/tests/perftest/perftest.h Tue Apr 13 14:55:45 2010
@@ -33,8 +33,7 @@
 #ifndef _PERFTEST_H_
 #define _PERFTEST_H_

-#include <windows.h>
-#include <winsock2.h>
+#include <ws2tcpip.h>

 typedef UINT64 cycles_t;

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to