Re: [chrony-users] Chrony on DragonFly?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Tue, Apr 20, 2010 at 11:12:58AM -0400, Pierre Abbat wrote:
> It compiles several files, then gives this error:
> 
> /usr/include/malloc.h:2:2: warning: #warning "this file includes <malloc.h> 
> which is deprecated, use <stdlib.h> instead"
> gcc -Wmissing-prototypes -Wall -O2 -g -DSUNOS -DHAS_STDINT_H -DHAS_INTTYPES_H -DHAVE_IPV6  -c 
> sys_sunos.c
> In file included from sys_sunos.c:33:
> /usr/include/kvm.h:84: error: expected declaration specifiers or '...' 
> before 'u_long'
> /usr/include/kvm.h:84: error: expected declaration specifiers or '...' 
> before 'size_t'
> /usr/include/kvm.h:86: error: expected declaration specifiers or '...' 
> before 'pid_t'

Ok, please add
#include <sys/types.h>

before
#include <kvm.h> 

in sys_sunos.c.

-- 
Miroslav Lichvar

---
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/