diff options
Diffstat (limited to 'x11-fm/xfe/files/patch-xvt_command.c')
-rw-r--r-- | x11-fm/xfe/files/patch-xvt_command.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-fm/xfe/files/patch-xvt_command.c b/x11-fm/xfe/files/patch-xvt_command.c new file mode 100644 index 000000000000..5662b0b5b161 --- /dev/null +++ b/x11-fm/xfe/files/patch-xvt_command.c @@ -0,0 +1,16 @@ +--- xvt/command.c.orig 2010-08-24 07:23:55.000000000 +0000 ++++ xvt/command.c 2010-08-24 07:25:30.000000000 +0000 +@@ -36,7 +36,12 @@ + #include <unistd.h> + #include <signal.h> + #include <fcntl.h> +-#include <utmp.h> ++#include <sys/param.h> ++#if __FreeBSD_version >= 900007 ++# include <utmpx.h> ++#else ++# include <utmp.h> ++#endif + #include <errno.h> + #include <string.h> + #include "xvt.h" |