add spsc
[cdsspec-compiler.git] / benchmark / spsc-bugfix / eventcount.h
index aec3e8c9b216b9d71c9b561287d7d95828386f1a..b5d1c2fa25203f8918f056840e8a0b8c5c26c0c9 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _EVENTCOUNT_H
+#define _EVENTCOUNT_H
+
 #include <unrelacy.h>
 #include <atomic>
 #include <mutex>
@@ -67,3 +70,5 @@ private:
                }
        }
 };
+
+#endif