aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/xfe/files/patch-xvt_xvt.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/xfe/files/patch-xvt_xvt.h')
-rw-r--r--x11-fm/xfe/files/patch-xvt_xvt.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-fm/xfe/files/patch-xvt_xvt.h b/x11-fm/xfe/files/patch-xvt_xvt.h
new file mode 100644
index 000000000000..78aece0423cd
--- /dev/null
+++ b/x11-fm/xfe/files/patch-xvt_xvt.h
@@ -0,0 +1,17 @@
+--- xvt/xvt.h.orig 2010-08-24 07:26:11.000000000 +0000
++++ xvt/xvt.h 2010-08-24 07:27:42.000000000 +0000
+@@ -59,10 +59,14 @@
+ int unlockpt(int);
+ char *ptsname(int);
+ #else /* !SUNOS5 */
++#ifdef __FreeBSD__
++#include <sys/ioctl.h>
++#else /* !FreeBSD */
+ /*#ifndef LINUX*/
+ #ifndef linux
+ int ioctl(int fd, unsigned request, char *arg);
+ #endif /* LINUX */
++#endif /* FreeBSD */
+ #endif /* !SUNOS5 */
+
+