2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasourcefile.vala: do not add includes to oneself
svn path=/trunk/; revision=363
+2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
+
+ * vala/valasourcefile.vala: do not add includes to oneself
+
2007-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
* @param include internal include for C header file
*/
public void add_header_internal_include (string! include) {
- header_internal_includes.append (include);
+ /* skip includes to self */
+ if (include != get_cinclude_filename ()) {
+ header_internal_includes.append (include);
+ }
}
/**