change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion.

This commit is contained in:
David Taylor 1999-01-04 20:07:59 +00:00
parent 61ada545ec
commit 3e1d3d67b9
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
* inftarg.c: change <sys/unistd.h> to <unistd.h> and
conditionalize its inclusion.
* infttrace.c: ditto.
Thu Dec 31 15:26:13 1998 Stan Shebs <shebs@andros.cygnus.com>
* corelow.c (core_ops): Don't initialize statically.

View File

@ -42,7 +42,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* "wait.h" fills in the gaps left by <wait.h> */
#include "wait.h"
#include <sys/unistd.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
extern struct symtab_and_line *
child_enable_exception_callback PARAMS ((enum exception_event_kind, int));

View File

@ -44,7 +44,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/ioctl.h>
#include <sys/ttrace.h>
#include <sys/unistd.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/mman.h>
#ifndef NO_PTRACE_H