]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion.
authorDavid Taylor <taylor@redhat.com>
Mon, 4 Jan 1999 20:07:59 +0000 (20:07 +0000)
committerDavid Taylor <taylor@redhat.com>
Mon, 4 Jan 1999 20:07:59 +0000 (20:07 +0000)
gdb/ChangeLog
gdb/inftarg.c
gdb/infttrace.c

index 5d12ee67bc935086d252027959b25d63c83bf1e5..b8d6c2ad8e424901ea796ac2594bdd42d506d80a 100644 (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.
index 921cbbe6718e017970583e990c5a554be7614d97..9439a9f7cf66112626d348560a3220251f33906f 100644 (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));
index e23f1630f0ab6fe9dd2b4fbc668fba8b817c25b3..04d9a5c43fc131e94b27c4622b9d80140f876ed9 100644 (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