Subject: Re: another wm/awesome patch
To: Justin C. Sherrill <justin@shiningsilence.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/14/2007 18:51:28
On Wed, 14 Nov 2007, Justin C. Sherrill wrote:
> In file included from ./tag.h:25,
> from layouts/floating.c:22:
> /usr/include/regex.h:47: error: syntax error before "regoff_t"
> /usr/include/regex.h:51: error: syntax error before "size_t"
> /usr/include/regex.h:57: error: syntax error before "regoff_t"
> /usr/include/regex.h:101: error: syntax error before "regerror"
> /usr/include/regex.h:101: error: syntax error before "size_t"
> /usr/include/regex.h:103: error: syntax error before "size_t"
> *** Error code 1
Maybe that tag.h or layouts/floating.c need to include stdio.h or
sys/types.h.
Also the DragonFly regex(3) man page says:
#include <sys/types.h>
#include <regex.h>