summaryrefslogtreecommitdiffstats
path: root/util/fix-includes
diff options
context:
space:
mode:
Diffstat (limited to 'util/fix-includes')
-rwxr-xr-xutil/fix-includes19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/fix-includes b/util/fix-includes
new file mode 100755
index 0000000000..c49163875b
--- /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 {} \;