projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-12-02 13:17:09 by simonm]
[ghc-hetmet.git]
/
ghc
/
lib
/
misc
/
cbits
/
ghcReadline.h
diff --git
a/ghc/lib/misc/cbits/ghcReadline.h
b/ghc/lib/misc/cbits/ghcReadline.h
index
7627fec
..
87c4d40
100644
(file)
--- 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 "config.h"
#if HAVE_READLINE_READLINE_H
-#include "readline/readline.h"
+#include <readline/readline.h>
+#include <readline/history.h>
#endif
/* For some reason the following 3 aren't defined in readline.h */
#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;
/* 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;
extern StgStablePtr haskellRlEntry;
extern I_ current_narg, rl_return;
extern KeyCode current_kc;