Duplicate that <libio.h> change made in master branch.
While we're at it, let's remove an unnecessary include
from procio.h and reflect in its single prototype what
those 'const char *' params are really supposed to be.
Signed-off-by: Jim Warner <james.warner@comcast.net>
#ifndef PROCPS_PROC_PROCIO_H
#define PROCPS_PROC_PROCIO_H
-#include "procps.h"
-
-FILE *fprocopen(const char *, const char *);
+FILE *fprocopen(const char *path, const char *mode);
#endif
#endif
#include <errno.h>
#include <fcntl.h>
-#include <libio.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>