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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkFile.c b/otherlibs/labltk/support/cltkFile.c
index a0cb4d0e1..c77ea2198 100644
--- a/otherlibs/labltk/support/cltkFile.c
+++ b/otherlibs/labltk/support/cltkFile.c
@@ -106,7 +106,7 @@ CAMLprim value camltk_rem_file_output(value fd, value cbid)
/* Under Win32, we go through the generic channel abstraction */
-#include <unixsupport.h>
+#define Handle_val(v) (*((HANDLE *) Data_custom_val(v)))
/* Map Unix.file_descr values to Tcl channels */