mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
16 lines
407 B
Plaintext
16 lines
407 B
Plaintext
--- 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 */
|