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-requ...@chrony.tuxfamily.org 
with "unsubscribe" in the subject.
For help email chrony-users-requ...@chrony.tuxfamily.org 
with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to