diff --git a/arduino-core/src/processing/app/debug/Compiler.java b/arduino-core/src/processing/app/debug/Compiler.java index a3a42487fe8..ccbc329b500 100644 --- a/arduino-core/src/processing/app/debug/Compiler.java +++ b/arduino-core/src/processing/app/debug/Compiler.java @@ -395,6 +395,7 @@ public boolean compile(boolean _verbose, boolean _save) throws RunnerException, progressListener.progress(20); List includeFolders = new ArrayList(); includeFolders.add(prefs.getFile("build.core.path")); + includeFolders.add(sketch.getFolder()); if (prefs.getFile("build.variant.path") != null) includeFolders.add(prefs.getFile("build.variant.path")); for (UserLibrary lib : importedLibraries) { diff --git a/license.txt b/license.txt index fe2dac072f2..6bef628eb65 100644 --- a/license.txt +++ b/license.txt @@ -1,5 +1,6 @@ this file includes licensing information for parts of arduino. + first, the gnu general public license, which covers the main body of the processing/arduino code (in general, all the stuff inside the 'app' and 'core' subfolders).