diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index 8deabe4a5a8387ab433a1bf42b87c69223ee1872..bc01f0735160eef90a8d12e3c812eed0d76447b9 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -39,6 +39,7 @@
 
 #include <ctype.h>
 #include <math.h>
+#include <signal.h>
 
 #ifndef WIN32
 #include <sys/time.h>