* Fix --without-debugger usage O:)

This commit is contained in:
pancake/fluendo 2009-04-20 11:57:36 +02:00
parent bc1f1e5920
commit 52c4f25247
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
/* radare - LGPL - Copyright 2009 pancake<nopcode.org> */
#include <r_userconf.h>
#if DEBUGGER
#include <r_debug.h>
#include <r_lib.h>
@ -7,8 +10,6 @@
#include <sys/types.h>
#include <sys/wait.h>
#if DEBUGGER
static int r_debug_ptrace_step(int pid)
{
//u32 addr = 0; /* should be eip */

View File

@ -1,5 +1,6 @@
/* radare - LGPL - Copyright 2008-2009 pancake<nopcode.org> */
#include <sys/types.h>
#include <r_userconf.h>
#if DEBUGGER
@ -8,6 +9,7 @@
#include <r_cons.h>
#include <errno.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <sys/wait.h>
#if __linux__ || __NetBSD__ || __FreeBSD__ || __OpenBSD__