summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-04-24 22:23:18 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-04-24 22:23:18 +0000
commit27b9e535a701c60f4762b2c919d8c49d1863b740 (patch)
tree43787dd6f7d17f2391ca8852c019e31d7c1985b7 /x11/rxvt-unicode
parentAuthor applied our 4.4BSD patches and released a new version. (diff)
#include <sys/types.h> before <utmp.h> if __FreeBSD__ >= 3. Note there
is another #include of <utmp.h> below, but it's outside of the #ifdef scope from <utmp.h>. :(
Notes
Notes: svn path=/head/; revision=6292
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/files/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/rxvt-unicode/files/patch-ab b/x11/rxvt-unicode/files/patch-ab
new file mode 100644
index 000000000000..9497eb28e985
--- /dev/null
+++ b/x11/rxvt-unicode/files/patch-ab
@@ -0,0 +1,12 @@
+--- ./src/utmp.c.org Thu Jan 23 10:46:02 1997
++++ ./src/utmp.c Thu Apr 24 15:20:49 1997
+@@ -84,6 +84,9 @@
+ # include <utmpx.h>
+ # define USE_SYSV_UTMP
+ #else
++# if defined(__FreeBSD__) && __FreeBSD__ >= 3
++# include <sys/types.h>
++# endif
+ # include <utmp.h>
+ # ifdef HAVE_SETUTENT
+ # define USE_SYSV_UTMP