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 @@
/**
* GreenPois0n iRecovery - irecovery.c
- * Copyright (C) 2010 Chronic-Dev Team
- * Copyright (C) 2010 Joshua Hill
+ * Copyright (C) 2010-2011 Chronic-Dev Team
+ * Copyright (C) 2010-2011 Joshua Hill
+ * Copyright (C) 2008-2011 Nicolas Haunold
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include <libirecovery.h>
#include <readline/readline.h>
#include <readline/history.h>