summaryrefslogtreecommitdiffstats
path: root/irecovery.c
diff options
context:
space:
mode:
authorGravatar Nicolas Haunold2011-03-04 21:19:32 +0100
committerGravatar Nicolas Haunold2011-03-04 21:19:32 +0100
commit95fb4802fe4d76d3ed76a77197ec48ad51f28deb (patch)
treeebed083436d24fd3275fa3e1d173e097323387bd /irecovery.c
parente4762be790b53dbd9ed679233584b8ee14d7c36f (diff)
downloadlibirecovery-95fb4802fe4d76d3ed76a77197ec48ad51f28deb.tar.gz
libirecovery-95fb4802fe4d76d3ed76a77197ec48ad51f28deb.tar.bz2
fixed the nasty segfault in postcommand_cb()0.1
Diffstat (limited to 'irecovery.c')
-rw-r--r--irecovery.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/irecovery.c b/irecovery.c
index 78692c6..40e6021 100644
--- a/irecovery.c
+++ b/irecovery.c
@@ -1,7 +1,8 @@
1/** 1/**
2 * GreenPois0n iRecovery - irecovery.c 2 * GreenPois0n iRecovery - irecovery.c
3 * Copyright (C) 2010 Chronic-Dev Team 3 * Copyright (C) 2010-2011 Chronic-Dev Team
4 * Copyright (C) 2010 Joshua Hill 4 * Copyright (C) 2010-2011 Joshua Hill
5 * Copyright (C) 2008-2011 Nicolas Haunold
5 * 6 *
6 * This program is free software: you can redistribute it and/or modify 7 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,7 @@
20#include <stdio.h> 21#include <stdio.h>
21#include <stdlib.h> 22#include <stdlib.h>
22#include <unistd.h> 23#include <unistd.h>
24#include <string.h>
23#include <libirecovery.h> 25#include <libirecovery.h>
24#include <readline/readline.h> 26#include <readline/readline.h>
25#include <readline/history.h> 27#include <readline/history.h>