25 lines
822 B
Plaintext
25 lines
822 B
Plaintext
--- lib/libxview/sel/sel_agent.c.orig Sun Jun 26 20:46:20 1994
|
|
+++ lib/libxview/sel/sel_agent.c Sun May 23 14:16:14 2010
|
|
@@ -63,8 +63,8 @@ static Seln_result seln_do_request_from_file();
|
|
static void selection_agent_do_function();
|
|
static Atom get_atom();
|
|
static Seln_attribute save_atom();
|
|
+static int waitforReadableTimeout();
|
|
|
|
-
|
|
Xv_private Seln_result seln_convert_request_to_property();
|
|
/* called by seln_svc.c
|
|
* to do selection
|
|
@@ -309,7 +309,11 @@ seln_do_request_from_file(attr, context, fd, max_lengt
|
|
struct stat stat_buf;
|
|
int count, size;
|
|
char *destp;
|
|
+#if (defined(BSD) && (BSD >= 199306))
|
|
+ extern off_t lseek();
|
|
+#else
|
|
extern long lseek();
|
|
+#endif
|
|
|
|
if (fstat(fd, &stat_buf) != 0) {
|
|
perror(XV_MSG("Agent couldn't reply about a file"));
|