diff options
author | asami <asami@FreeBSD.org> | 1997-04-25 06:23:18 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-04-25 06:23:18 +0800 |
commit | 49cc230a234daf65f3662bcc80bf1d951e338e8a (patch) | |
tree | 0682a1a6ce18efe89ed2e6ff04532df0b2a2b063 /x11/rxvt | |
parent | b8cbd48816bd0bb49a54965ad83b44daa19a8f00 (diff) | |
download | freebsd-ports-gnome-49cc230a234daf65f3662bcc80bf1d951e338e8a.tar.gz freebsd-ports-gnome-49cc230a234daf65f3662bcc80bf1d951e338e8a.tar.zst freebsd-ports-gnome-49cc230a234daf65f3662bcc80bf1d951e338e8a.zip |
#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>. :(
Diffstat (limited to 'x11/rxvt')
-rw-r--r-- | x11/rxvt/files/patch-ab | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/rxvt/files/patch-ab b/x11/rxvt/files/patch-ab new file mode 100644 index 000000000000..9497eb28e985 --- /dev/null +++ b/x11/rxvt/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 |