summaryrefslogtreecommitdiff
path: root/x11/libdnd/files/patch-aa
blob: f7ddb8b2acb96d73383eca1f4aa3bfcc6200de1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- DragAndDrop.c.orig	Mon Sep 15 21:02:20 1997
+++ DragAndDrop.c	Mon Sep 15 21:03:53 1997
@@ -22,7 +22,12 @@
 #include <X11/Xmu/WinUtil.h>
 #include <stdio.h>
 #include <stdlib.h>
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#include <limits.h>
+#define MAXINT INT_MAX
+#else
 #include <values.h>
+#endif
 
 /* Local variables */
 static Display		*dpy;		/* current display		*/