71146f333e
- unified format - only one patch per file - no files gets patched twice
24 lines
675 B
Text
24 lines
675 B
Text
$NetBSD: patch-ax,v 1.2 2001/12/20 09:19:56 tron Exp $
|
|
|
|
--- lib/libxview/dnd/site.c.orig Tue Jun 29 07:15:58 1993
|
|
+++ lib/libxview/dnd/site.c Thu Dec 20 10:09:16 2001
|
|
@@ -19,6 +19,7 @@
|
|
#ifdef SVR4
|
|
#include <stdlib.h>
|
|
#endif SVR4
|
|
+#include <sys/param.h>
|
|
|
|
static void TransCoords();
|
|
Xv_private Xv_Window win_get_top_level();
|
|
@@ -246,7 +247,11 @@
|
|
/* (rectNode->rect) is of the wrong type. */
|
|
memmove(rect, &(rectNode->rect), sizeof(Rect));
|
|
#else
|
|
+#if (defined(BSD) && (BSD >= 199103))
|
|
+ bcopy(&(rectNode->rect), rect, sizeof(Rect));
|
|
+#else
|
|
bcopy(rectNode->rect, rect, sizeof(Rect));
|
|
+#endif
|
|
#endif SVR4
|
|
|
|
return((Xv_opaque)rect);
|