<sys/proc.h> when not available.
+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.
#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