mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Make this port work on OpenBSD, and still work on FreeBSD. Fix a warning
for using value.h. Submitted by: Todd T Fries <toddf@acm.org>
This commit is contained in:
parent
9f2f980a36
commit
9b38c89bc6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7943
@ -12,3 +12,18 @@
|
||||
|
||||
libC: libDnd.a
|
||||
|
||||
--- 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 */
|
||||
|
Loading…
Reference in New Issue
Block a user