diff --git a/src/bindings/php/hammer.xml b/src/bindings/php/hammer.xml
index 9f72737ee4e4f388b1086067aa909ca940b896c8..484fcbd7b8228987a67c8b33925b1e5582ca5d55 100644
--- a/src/bindings/php/hammer.xml
+++ b/src/bindings/php/hammer.xml
@@ -24,9 +24,9 @@
 
   <deps language="c" platform="unix">
     <with testfile="include/hammer/hammer.h">Hammer C library</with>
-    <header name="allocator.h"/>
-    <header name="glue.h"/>
-    <header name="hammer.h"/>
+    <header name="allocator.h" path="include/hammer"/>
+    <header name="glue.h" path="include/hammer"/>
+    <header name="hammer.h" path="include/hammer"/>
     <lib name="hammer" platform="unix"/>
   </deps>