diff options
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -22,19 +22,23 @@ #define PROTOCOL_VERSION 8 #include <sys/time.h> -#include <sys/queue.h> -#include <sys/tree.h> #include <sys/uio.h> -#include <bitstring.h> #include <event.h> -#include <imsg.h> #include <limits.h> #include <stdarg.h> -#include <stdint.h> #include <stdio.h> #include <termios.h> +#ifdef HAVE_UTEMPTER +#include <utempter.h> +#endif + +#include "compat.h" + +extern char *__progname; +extern char **environ; + extern char *__progname; extern char **environ; @@ -2311,8 +2315,10 @@ char *utf8_tocstr(struct utf8_data *); u_int utf8_cstrwidth(const char *); char *utf8_trimcstr(const char *, u_int); -/* procname.c */ -char *get_proc_name(int, char *); +/* osdep-*.c */ +char *osdep_get_name(int, char *); +char *osdep_get_cwd(int); +struct event_base *osdep_event_init(void); /* log.c */ void log_open(const char *); |