summaryrefslogtreecommitdiff
path: root/math/yacas/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'math/yacas/patches/patch-ae')
-rw-r--r--math/yacas/patches/patch-ae15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/yacas/patches/patch-ae b/math/yacas/patches/patch-ae
new file mode 100644
index 00000000000..e028f2951ce
--- /dev/null
+++ b/math/yacas/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2000/03/23 13:40:42 agc Exp $
+
+Include a header file for FIONREAD
+
+--- server/serverloop.cc 2000/03/23 12:09:40 1.1
++++ server/serverloop.cc 2000/03/23 12:10:41
+@@ -1,5 +1,8 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#if defined(__sun__) && defined(__svr4__)
++#include <sys/filio.h>
++#endif
+ #include <stdio.h>
+ #include <netinet/in.h>
+ #include <sys/time.h>