freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+notify+ultrix_cpt.h
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

14 lines
427 B
C

--- lib/libxview/notify/ultrix_cpt.h.orig Fri Oct 17 00:27:24 2003
+++ lib/libxview/notify/ultrix_cpt.h Fri Oct 17 00:43:03 2003
@@ -14,7 +14,10 @@
#ifndef xview_ultrix_compat_DEFINED
#define xview_ultrix_compat_DEFINED
-#ifdef OLD_BSD_FDSETS
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/select.h>
+#elif defined(OLD_BSD_FDSETS)
#ifndef NBBY
#define NBBY 8 /* number of bits in a byte */