summaryrefslogtreecommitdiff
path: root/net/drawterm/files/patch-include_unix.h
blob: d697eb727bf6b1b75a67e58fa48d9966082491e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- include/unix.h.orig	2015-07-13 22:14:41 UTC
+++ include/unix.h
@@ -11,7 +11,9 @@
 #define _FILE_OFFSET_BITS 64
 
 
+#define fdclose sysfdclose
 #include <stdio.h>
+#undef fdclose
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>