freebsd-ports/lang/icon/files/patch-ipl_cfuncs_fpoll.c
John Marino 1e73268a09 lang/icon: Add DragonFly support
Bring in fix from dports (port is not maintained)
2015-03-26 16:18:10 +00:00

14 lines
310 B
C

--- ipl/cfuncs/fpoll.c.orig 2009-10-27 20:39:16 UTC
+++ ipl/cfuncs/fpoll.c
@@ -37,7 +37,11 @@
int fpoll(int argc, descriptor *argv) /*: await data from file */
{
+#ifdef __DragonFly__
+ struct __FILE_public *f;
+#else
FILE *f;
+#endif
int msec, r;
fd_set fds;
struct timeval tv, *tvp;