dcd_synopsys.c included broadcom/interrupts.h before preprocessor check whether file should be used. Since mynewt build does not include all folders it resulted in build error. Now offending include is moved few lines after preprocessor check.