diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 00:46:00 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 20:26:37 +0200 |
commit | e7fb44e7c3f7a37ff83a6b69ba51a738e549bf5c (patch) | |
tree | 6349597b77ae1217a63df101390f03e166bf1157 /util/fix-includes | |
parent | d86167ec7513265bbafaf5c13fa60bd7c23aa732 (diff) | |
download | openssl-e7fb44e7c3f7a37ff83a6b69ba51a738e549bf5c.zip openssl-e7fb44e7c3f7a37ff83a6b69ba51a738e549bf5c.tar.gz openssl-e7fb44e7c3f7a37ff83a6b69ba51a738e549bf5c.tar.bz2 |
Add util/fix-includes script
This script contains all adjustments to header files which were made
during the reorganization of the header files. It is meant as an aid
for other contributors which encounter preprocessor #include errors
after rebasing over this pull request. Simply running
util/fix-includes
from the root of the source directory should hopefully fix the problem.
Note: such #include errors are expected only for pull requests which
add a lot of new code, in particular new compilation modules.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9333)
Diffstat (limited to 'util/fix-includes')
-rwxr-xr-x | util/fix-includes | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/util/fix-includes b/util/fix-includes new file mode 100755 index 0000000..c491638 --- /dev/null +++ b/util/fix-includes @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the Apache License 2.0 (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + +find -name ossl_typ.h -o \( \ + -name '*.h' -o \ + -name '*.h.in' -o \ + -name '*.c' -o \ + -name '*.ec' -o \ + -name 'README*' -o \ + -name '*.pod' -o \ + -name '*.conf' \ + \) -exec sed -E -i \ + -f util/fix-includes.sed {} \; |