On Thu 01-03-2007 21:26, Albert Cardona wrote:

> All I edited was the tags array in the config.h, from the original in 3.7 to:
> 
> const char *tags[] = { "c", "ij", "blend", "net", NULL };
> 
> and I get:
> 
> dwm build options:
> CFLAGS = -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="3.7"
> LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11
> CC = cc
> CC client.c
> In file included from dwm.h:33,
> from client.c:4:
> config.h:19: error: ‘NULL’ undeclared here (not in a function)
> make: *** [client.o] Error 1
> 
> I'd appreciate to know if I've done something stupid.

Hi, the context should look like this:

/* behavior */
#define TAGS \
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };

If I remove the define statement, I get the same error as you.

Bye.

Jan Christoph
-- 
For everything there is a season, and a time for every purpose under
heaven. Ecclesiastes 3,1

Attachment: pgpHnofsPplHk.pgp
Description: PGP signature

Reply via email to