[sgen-protocol] Avoid multiple inclusion of sgen-protocol.h
authorLudovic Henry <ludovic.henry@xamarin.com>
Wed, 25 Jun 2014 23:06:22 +0000 (16:06 -0700)
committerLudovic Henry <ludovic.henry@xamarin.com>
Thu, 26 Jun 2014 00:40:06 +0000 (17:40 -0700)
mono/metadata/sgen-protocol.h

index 1e7222c8b30da8da820712b288bb6dff5175d246..59b2e332aee7de20dd13b12f4a95d04e6212da09 100644 (file)
@@ -20,6 +20,9 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#ifndef __MONO_SGENPROTOCOL_H__
+#define __MONO_SGENPROTOCOL_H__
+
 #include "sgen-gc.h"
 
 enum {
@@ -298,3 +301,5 @@ void binary_protocol_dislink_process_staged (gpointer link, gpointer obj, int in
 #define binary_protocol_dislink_process_staged(link,obj,index)
 
 #endif
+
+#endif