blob: 5c11505a474cc132616f3c7c6974aef071950a74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-aq,v 1.2 2001/12/20 09:19:55 tron Exp $
--- lib/libxview/sel/sel_agent.c.orig Sun Jun 26 20:46:20 1994
+++ lib/libxview/sel/sel_agent.c Thu Dec 20 10:09:17 2001
@@ -63,7 +63,7 @@
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
@@ -309,7 +309,11 @@
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"));
|