diff options
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 |