summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index 40f9abfd21..27bfec1c16 100644
--- a/io.c
+++ b/io.c
@@ -18,6 +18,8 @@
#include <ctype.h>
#include <errno.h>
+#define free(x) xfree(x)
+
#if defined(DOSISH) || defined(__CYGWIN__)
#include <io.h>
#endif