summaryrefslogtreecommitdiff
path: root/devel/tavrasm/files/patch-avrasm.cc
blob: 9afe576f8381bbce9f1cdf0350081840e7315242 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/avrasm.cc.orig	Mon Jan 19 17:11:30 2004
+++ src/avrasm.cc	Thu Jan 29 05:26:31 2004
@@ -862,6 +862,11 @@
       strcpy(type_start,".");
   }
 
+  /// Append default search path /////////////////////////////////////////////
+
+  if (yyIncPathCount < MAX_INCPATH_QTY)
+    yyIncludePaths[yyIncPathCount++] = "/usr/local/include/avr";
+
   return ok;
 }