summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/cltkFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/support/cltkFile.c')
-rw-r--r--otherlibs/labltk/support/cltkFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/support/cltkFile.c b/otherlibs/labltk/support/cltkFile.c
index 458b526ec..a0cb4d0e1 100644
--- a/otherlibs/labltk/support/cltkFile.c
+++ b/otherlibs/labltk/support/cltkFile.c
@@ -106,9 +106,9 @@ CAMLprim value camltk_rem_file_output(value fd, value cbid)
/* Under Win32, we go through the generic channel abstraction */
-/* Map Unix.file_descr values to Tcl channels */
+#include <unixsupport.h>
-#define Handle_val(v) (*((HANDLE *)(v)))
+/* Map Unix.file_descr values to Tcl channels */
static Tcl_Channel tcl_channel(value fd, int flags)
{