summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Scripts/generate-forwarding-headers.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Scripts/generate-forwarding-headers.pl')
-rwxr-xr-xSource/WebKit2/Scripts/generate-forwarding-headers.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit2/Scripts/generate-forwarding-headers.pl b/Source/WebKit2/Scripts/generate-forwarding-headers.pl
index 5a53d81..43425ef 100755
--- a/Source/WebKit2/Scripts/generate-forwarding-headers.pl
+++ b/Source/WebKit2/Scripts/generate-forwarding-headers.pl
@@ -64,7 +64,7 @@ foreach (@frameworks) {
sub collectNeededHeaders {
my $filePath = $File::Find::name;
my $file = $_;
- if ($filePath =~ '\.h$|\.cpp$') {
+ if ($filePath =~ '\.h$|\.cpp$|\.c$') {
open(FILE, "<$file") or die "Could not open $filePath.\n";
while (<FILE>) {
if (m/^#.*<$framework\/(.*\.h)/) {