diff options
author | David Taylor <taylor@redhat.com> | 1999-01-04 20:07:59 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 1999-01-04 20:07:59 +0000 |
commit | 3e1d3d67b9dc0bf8436e25c0585a61d4a16530ba (patch) | |
tree | 14b9327556bc05f92dcbfd90f2f0cf16148b3ac9 /gdb/infttrace.c | |
parent | 61ada545ec53b05f8fa34ea4cc4d811c7c6c675a (diff) | |
download | gdb-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/infttrace.c')
-rw-r--r-- | gdb/infttrace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c index e23f163..04d9a5c 100644 --- a/gdb/infttrace.c +++ b/gdb/infttrace.c @@ -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 |