xref: /freebsd/crypto/openssl/util/fix-includes (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1#!/bin/sh
2#
3# Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
4#
5# Licensed under the Apache License 2.0 (the "License").  You may not use
6# this file except in compliance with the License.  You can obtain a copy
7# in the file LICENSE in the source distribution or at
8# https://www.openssl.org/source/license.html
9
10find -name ossl_typ.h -o \( \
11	 -name '*.h' -o \
12	 -name '*.h.in' -o \
13	 -name '*.c' -o \
14	 -name '*.ec' -o \
15	 -name 'README*' -o \
16	 -name '*.pod' -o \
17	 -name '*.cnf' -o -name '*.conf' \
18	 \) -exec sed -E -i \
19	 -f util/fix-includes.sed {} \;
20