Use utempter to update utmp if it's around for configure, from madmaverick9 at

roxxmail dot eu.
This commit is contained in:
Nicholas Marriott
2014-02-24 23:07:22 +00:00
parent 488583dc8d
commit 4273c1b80e
4 changed files with 25 additions and 0 deletions

4
tmux.h
View File

@@ -32,6 +32,10 @@
#include <stdio.h>
#include <termios.h>
#ifdef HAVE_UTEMPTER
#include <utempter.h>
#endif
#include "array.h"
#include "compat.h"