summaryrefslogtreecommitdiffstats
path: root/libopkg/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/user.c')
-rw-r--r--libopkg/user.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libopkg/user.c b/libopkg/user.c
index 557f7ce..2467de9 100644
--- a/libopkg/user.c
+++ b/libopkg/user.c
@@ -15,17 +15,19 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
-
+#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
+#include <string.h>
#include "file_util.h"
#include "str_util.h"
-#include "libopkg.h"
-
+#include "user.h"
static char *question = NULL;
static int question_len = 255;
+opkg_response_callback opkg_cb_response = NULL;
+
char *get_user_response(const char *format, ...)
{
int len = question_len;