- Fix build by not looking for STREAMS headers

Reported by:	QAT
Approved by:	wxs@ (mentor)
This commit is contained in:
Sahil Tandon 2010-05-28 00:49:18 +00:00
parent c3bc2173ad
commit d3b77479f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255216

View File

@ -0,0 +1,11 @@
--- rxvt/_rxvtlib.h.orig 2010-05-26 21:25:41.000000000 -0400
+++ rxvt/_rxvtlib.h 2010-05-26 21:39:11.000000000 -0400
@@ -128,7 +128,7 @@
#ifdef TTY_GID_SUPPORT
# include <grp.h>
#endif
-#ifdef PTYS_ARE_PTMX
+#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__)
# include <sys/resource.h> /* for struct rlimit */
# include <sys/stropts.h> /* for I_PUSH */
#endif