Index: libiberty/maint-tool |
diff --git a/libiberty/maint-tool b/libiberty/maint-tool |
index 36b92034f33c2c9e055094e4686e0952678e3ad6..d50f8959a388f70efe2c3653cf508808e8886a85 100644 |
--- a/libiberty/maint-tool |
+++ b/libiberty/maint-tool |
@@ -222,7 +222,7 @@ sub deps { |
opendir(INC, $incdir); |
while ($f = readdir INC) { |
- next unless $f =~ /\.h$/; |
+ next unless $f =~ /\.h$/ || $f =~ /\.def$/; |
$mine{$f} = "\$(INCDIR)/$f"; |
$deps{$f} = join(' ', &deps_for("$incdir/$f")); |
} |