diff options
Diffstat (limited to 'lang/icon/files/patch-ipl_cfuncs_fpoll.c')
-rw-r--r-- | lang/icon/files/patch-ipl_cfuncs_fpoll.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/icon/files/patch-ipl_cfuncs_fpoll.c b/lang/icon/files/patch-ipl_cfuncs_fpoll.c new file mode 100644 index 0000000..6b25844 --- /dev/null +++ b/lang/icon/files/patch-ipl_cfuncs_fpoll.c @@ -0,0 +1,14 @@ +--- 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; |