aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1999-01-04 20:07:59 +0000
committerDavid Taylor <taylor@redhat.com>1999-01-04 20:07:59 +0000
commit3e1d3d67b9dc0bf8436e25c0585a61d4a16530ba (patch)
tree14b9327556bc05f92dcbfd90f2f0cf16148b3ac9 /gdb/inftarg.c
parent61ada545ec53b05f8fa34ea4cc4d811c7c6c675a (diff)
downloadgdb-3e1d3d67b9dc0bf8436e25c0585a61d4a16530ba.zip
gdb-3e1d3d67b9dc0bf8436e25c0585a61d4a16530ba.tar.gz
gdb-3e1d3d67b9dc0bf8436e25c0585a61d4a16530ba.tar.bz2
change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index 921cbbe..9439a9f 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -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));