library: refactor the XTRA_PROCPS_DEBUG implementation
If we ever were to eliminate the procps.h header file, as discussed in the thread referenced below, then that would impair the current XTRA_PROCPS_DEBUG provisions. The only remaining way to verify result types would be to explicitly include that <proc/xtra-procps-debug.h>. So, this commit will once again enable the ./configure provision for defining the -DXTRA_PROCPS_DEBUG option. Reference(s): https://www.freelists.org/post/procps/newlib-Qualys-patches,6 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@ -308,6 +308,10 @@ struct vmstat_stack *procps_vmstat_select (
|
||||
enum vmstat_item *items,
|
||||
int numitems);
|
||||
|
||||
|
||||
#ifdef XTRA_PROCPS_DEBUG
|
||||
# include <proc/xtra-procps-debug.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user