* proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
<sys/proc.h> when not available.
This commit is contained in:
parent
a99a9e1bc4
commit
8dd72958e0
@ -1,3 +1,8 @@
|
||||
2002-07-16 Joel Brobecker <brobecker@gnat.com>
|
||||
|
||||
* proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
|
||||
<sys/proc.h> when not available.
|
||||
|
||||
2002-07-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* NEWS: Mention that the i[34]86-*-os9k has been made obsolete.
|
||||
|
@ -36,7 +36,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/procfs.h>
|
||||
#ifdef HAVE_SYS_PROC_H
|
||||
#include <sys/proc.h> /* for struct proc */
|
||||
#endif
|
||||
#ifdef HAVE_SYS_USER_H
|
||||
#include <sys/user.h> /* for struct user */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user