PCP - MacOSX - task_t type conflicts w/ mach_types.h
Brought to you by:
codesmythe
Problem Description
----
Build fails on MacOS 10.3.9 because the file src/pmlogger/logger.h
defines a type, i.e. task_t, that conflicts with the task_t type defined
in: /usr/include/mach/mach_types.h
The affected files (all in src/pmlogger) are:
logger.h
callback.c
check.c
dopdu.c
gram.save.c
gram.y
pmlogger.c
Suggested Solution
----
Change the name of the pcp-internal type to pcp_task_t, in all affected
source files.
Logged In: YES
user_id=1363106
Fixed. Changed all instances of task_t to pcp_task_t in the affected files.