summary refs log tree commit diff
path: root/home/.local/bin/whinclude
blob: 26445cdc464820def91f3738c541ec4164328afb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -eu

echo "#include <${1}>" |
cc ${CFLAGS:-} -E -x c - |
sed -En '
	/^# [0-9]+ "[^<]/{
		s/.*"([^"]+)".*/\1/p
		q
	}
'
Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe