1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/rxvt/files/patch-ab
Satoshi Asami 27b9e535a7 #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>. :(
1997-04-24 22:23:18 +00:00

13 lines
308 B
Plaintext

--- ./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