I found a way to make it compile again.

// {$ifdef ARM7}
// DMA_START_VBL = (1 shl 27); //BIT(27);
//{$endif ARM7}

//{$ifdef ARM9}
DMA_START_HBL = (1 shl 28); //BIT(28);
DMA_START_VBL = (1 shl 27); //BIT(27);
DMA_START_FIFO = (7 shl 27);
DMA_DISP_FIFO = (4 shl 27);
//{$endif ARM9}

add the bold-written parts to \libnds\nds\dma.inc, line 84 and following.

btw, this doesn't change anything about my touchpad-problem xD

oh and i don't give any guarantee that this modificiation won't do your
nds any harm. :) i don't really know what i'm doing, actually :)

edit: /b doesn't seem to work in /code xD