*** ./server-client.c.ORIG Thu Apr 4 12:43:00 2013 --- ./server-client.c Thu Apr 4 12:43:27 2013 *************** *** 334,339 **** --- 334,351 ---- window_pane_mouse(wp, c->session, m); } + #ifdef _AIX + # define timersub(a, b, result) \ + do { \ + (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ + (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ + if ((result)->tv_usec < 0) { \ + --(result)->tv_sec; \ + (result)->tv_usec += 1000000; \ + } \ + } while (0) + #endif + /* Is this fast enough to probably be a paste? */ int server_client_assume_paste(struct session *s) *** ./Makefile.in.ORIG Mon Oct 13 17:13:38 2014 --- ./Makefile.in Mon Oct 13 17:13:57 2014 *************** *** 232,238 **** $(am__objects_14) $(am__objects_15) $(am__objects_16) \ $(am__objects_17) tmux_OBJECTS = $(dist_tmux_OBJECTS) $(nodist_tmux_OBJECTS) ! tmux_LDADD = $(LDADD) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false --- 232,238 ---- $(am__objects_14) $(am__objects_15) $(am__objects_16) \ $(am__objects_17) tmux_OBJECTS = $(dist_tmux_OBJECTS) $(nodist_tmux_OBJECTS) ! tmux_LDADD = $(LDADD) -lbsd AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false