While attempting to port samba 3.6 to OpenWRT, source3/registry/reg_format.c will not compile because includes.h is not included first as it is for other registry/*.c files. That prevents sys/stat.h from being included via config.h. The rest of samba compiles fine
Created attachment 6805 [details] patch from master
Comment on attachment 6805 [details] patch from master This has been pushed to master...
karo: please pick this to 3.6, too
Pushed to v3-6-test. Closing out bug report. Thanks!