Image

Imagemuerte wrote in Imagelinux

mod_throttle

I'm trying to setup mod_throttle and I'm having a problem compiling it. Has anyone done it recently that could give me any tips? I'm getting a compile error:

/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:170: syntax error before `typedef'
mod_throttle.c:850: conflicting types for `t_critical'
mod_throttle.c:322: previous declaration of `t_critical'
mod_throttle.c:852: conflicting types for `critical'
mod_throttle.c:328: previous declaration of `critical'
mod_throttle.c:862: conflicting types for `critical_create'
mod_throttle.c:324: previous declaration of `critical_create'


So i check line 170 and it is is a simple typedef line:

typedef void (*t_adjust)(request_rec *, t_config *);