When I execute make command and am getting the following error. Kindly help me to fix the issue.
Making all in srclib
Making all in apr
Making all in strings
/bin/sh /usr/sap/apache/httpd-2.0.64/srclib/apr/libtool --silent --mode=compile gcc -maix64 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from /usr/include/fcntl.h:219,
from ../include/apr_portable.h:44,
from
apr_snprintf.c:23:
/usr/include/unistd.h:1058: error: expected ')' before '[' token
/usr/include/unistd.h:1059: error: expected declaration specifiers or '...' before 'rid_t'
In file included from /usr/include/sys/cred.h:52,
from /usr/include/sys/thread.h:42,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:42,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from
/usr/include/pthread.h:67,
from ../include/apr_portable.h:47,
from apr_snprintf.c:23:
/usr/include/sys/secattr.h:50: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:70: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:42,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:42,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:67,
from ../include/apr_portable.h:47,
from apr_snprintf.c:23:
/usr/include/sys/cred.h:338: error: expected specifier-qualifier-list before 'rid_t'