update mainline to svn 199626

Note: There is a bug with including <stdio.h>