diff --git a/arduino-core/src/processing/app/BaseNoGui.java b/arduino-core/src/processing/app/BaseNoGui.java index 895f6aef1f8..938c3676891 100644 --- a/arduino-core/src/processing/app/BaseNoGui.java +++ b/arduino-core/src/processing/app/BaseNoGui.java @@ -417,7 +417,7 @@ static public LibraryList getUserLibs() { * within the header files at the top-level). */ static public String[] headerListFromIncludePath(File path) throws IOException { - String[] list = path.list(new OnlyFilesWithExtension(".h")); + String[] list = path.list(new OnlyFilesWithExtension(".h", ".hh", ".hpp")); if (list == null) { throw new IOException(); }