Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 07ca3c09da5c98b6bf6f222290a2f298 > files > 22

lib64edit-devel-2.10-0.20070831.1mdv2008.1.x86_64.rpm

--- export/src/editline/readline.h	2007-08-31 00:02:46.000000000 +0200
+++ ../src/editline/readline.h	2007-08-31 00:03:08.000000000 +0200
@@ -46,9 +46,11 @@
 typedef char	**CPPFunction(const char *, int, int);
 typedef char     *rl_compentry_func_t(const char *, int);
 
+typedef void *histdata_t;
+
 typedef struct _hist_entry {
 	const char	*line;
-	const char	*data;
+	histdata_t	*data;
 } HIST_ENTRY;
 
 typedef struct _keymap_entry {
@@ -69,7 +71,7 @@
 
 #ifndef CTRL
 #include <sys/ioctl.h>
-#if !defined(__sun__) && !defined(__hpux__)
+#ifdef __GLIBC__
 #include <sys/ttydefaults.h>
 #endif
 #ifndef CTRL