xref: /freebsd/crypto/openssl/util/fix-includes (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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