diff --git a/src/bindings/perl/hammer.i b/src/bindings/perl/hammer.i
index 6e3a133e77209740b0acf782aeb7b8ada60e1064..eaf504d87f1b38c07098a3414a7011952bcbbeda 100644
--- a/src/bindings/perl/hammer.i
+++ b/src/bindings/perl/hammer.i
@@ -1,6 +1,7 @@
 %module hammer;
 %begin %{
 #include <unistd.h>
+#include <stdbool.h>
 #include <stdint.h>
 %}