about summary refs log tree commit diff
path: root/scripts/check-wrapper-headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-wrapper-headers.py')
-rw-r--r--scripts/check-wrapper-headers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/check-wrapper-headers.py b/scripts/check-wrapper-headers.py
index 094faa3ced..dc9fd86063 100644
--- a/scripts/check-wrapper-headers.py
+++ b/scripts/check-wrapper-headers.py
@@ -75,6 +75,10 @@ def check_headers(args):
 
         is_nonsysdep_header = os.access(header, os.R_OK)
         if is_nonsysdep_header:
+            # Skip Fortran header files.
+            if '/finclude/' in header:
+                continue
+
             include_path = os.path.join(args.root, INCLUDE, header)
             if not os.access(include_path, os.R_OK):
                 print('error: missing wrapper header {} for {}'.format(