summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/xstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/xstream.h')
-rw-r--r--Build/source/utils/asymptote/xstream.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/xstream.h b/Build/source/utils/asymptote/xstream.h
index c0f335e6133..3f5e749f9e9 100644
--- a/Build/source/utils/asymptote/xstream.h
+++ b/Build/source/utils/asymptote/xstream.h
@@ -32,10 +32,13 @@
#define u_quad_t unsigned long long
#ifdef __CYGWIN__
+#include <sys/select.h>
+#define u_char unsigned char
+#define u_int unsigned int
+#define u_short unsigned short
+#define u_long unsigned long
extern "C" int fseeko(FILE *, off_t, int);
extern "C" off_t ftello(FILE *);
-#define xdr_longlong_t xdr_int64_t
-#define xdr_u_longlong_t xdr_uint64_t
#endif
#ifdef _POSIX_SOURCE