ibat: use #ifdef to avoid including header multiple times
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 24 Feb 2009 23:01:41 +0000 (23:01 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 24 Feb 2009 23:01:41 +0000 (23:01 +0000)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1981 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

inc/user/iba/ibat.h

index ebfad1c..c9a1740 100644 (file)
@@ -29,6 +29,9 @@
  * $Id:$\r
  */\r
 \r
+#ifndef _IBAT_H_\r
+#define _IBAT_H_\r
+\r
 #include <winsock2.h>\r
 #include <ws2tcpip.h>\r
 \r
@@ -60,3 +63,5 @@ IbatResolve(
     );\r
 \r
 #endif /* __cplusplus */\r
+\r
+#endif // _IBAT_H_
\ No newline at end of file