Search for lines containing '#include' followed by a space and any character that is not a space in all files with the extensions .c or .h in the current directory and its subdirectories.
grep -E '#include\s[^\s]*' $(find . -name '*.[ch]')