[ofw] [PATCH] ibat: use #ifdef to avoid including header muliple	times
    Sean Hefty 
    sean.hefty at intel.com
       
    Tue Feb 24 12:01:15 PST 2009
    
    
  
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
I will commit this to the trunk unless there are objections.
diff -up -r -N -X trunk\docs\dontdiff.txt -I '\$Id:' trunk\inc\user/iba/ibat.h branches\winverbs\inc\user/iba/ibat.h
--- trunk\inc\user/iba/ibat.h	2008-10-29 11:23:57.718750000 -0700
+++ branches\winverbs\inc\user/iba/ibat.h	2009-01-30 11:03:30.574280000 -0800
@@ -29,6 +29,9 @@
  * $Id:$
  */
 
+#ifndef _IBAT_H_
+#define _IBAT_H_
+
 #include <winsock2.h>
 #include <ws2tcpip.h>
 
@@ -60,3 +63,5 @@ IbatResolve(
     );
 
 #endif /* __cplusplus */
+
+#endif	// _IBAT_H_
    
    
More information about the ofw
mailing list