CLEANUP: Add missing include guard to signal.h
Found using GitHub's CodeQL scan.
(cherry picked from commit abc6b31ab863be589758b0760b92b5d3a4f903d1)
Signed-off-by: Willy Tarreau <w@1wt.eu>
diff --git a/include/haproxy/signal.h b/include/haproxy/signal.h
index 763cfb0..331b7fd 100644
--- a/include/haproxy/signal.h
+++ b/include/haproxy/signal.h
@@ -11,6 +11,9 @@
*
*/
+#ifndef _HAPROXY_SIGNAL_H
+#define _HAPROXY_SIGNAL_H
+
#include <signal.h>
#include <haproxy/api.h>
@@ -39,6 +42,8 @@
__signal_process_queue();
}
+#endif /* _HAPROXY_SIGNAL_H */
+
/*
* Local variables:
* c-indent-level: 8