MINOR: threads/mailers: Add a lock to protect queues of email alerts
diff --git a/include/types/proxy.h b/include/types/proxy.h
index 3e0c3ee..719c8dd 100644
--- a/include/types/proxy.h
+++ b/include/types/proxy.h
@@ -239,6 +239,9 @@
 					 * code even though they are not checks. This structure
 					 * is as a parameter to the check code.
 					 * Each check corresponds to a mailer */
+#ifdef USE_THREAD
+	HA_SPINLOCK_T lock;
+#endif
 };
 
 struct proxy {