X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Flib%2Fmisc%2Fcbits%2FghcReadline.h;h=87c4d4010bc505e71c2982ca340ca38713f520a2;hp=7627fecf10d500ec6e705a9194ea87e316041b47;hb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;hpb=967cc47f37cb93a5e2b6df7822c9a646f0428247 diff --git a/ghc/lib/misc/cbits/ghcReadline.h b/ghc/lib/misc/cbits/ghcReadline.h index 7627fec..87c4d40 100644 --- a/ghc/lib/misc/cbits/ghcReadline.h +++ b/ghc/lib/misc/cbits/ghcReadline.h @@ -5,7 +5,8 @@ #include "config.h" #if HAVE_READLINE_READLINE_H -#include "readline/readline.h" +#include +#include #endif /* For some reason the following 3 aren't defined in readline.h */ @@ -17,7 +18,7 @@ extern int rl_pending_input; /* Our C Hackery stuff for Callbacks */ typedef I_ KeyCode; extern StgStablePtr cbackList; -I_ genericRlCback PROTO((I_, I_)); +I_ genericRlCback (I_, I_); extern StgStablePtr haskellRlEntry; extern I_ current_narg, rl_return; extern KeyCode current_kc;