diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-06-06 13:00:47 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-06-06 13:00:47 +0000 |
commit | 60134cebda13ace3715ecdb4334fe7a5c272da4b (patch) | |
tree | f6a733a2f613789cf5ed6817defb0b1f6540ae2e | |
parent | f34861bad4c9b7ee4100eb5a465c4a939d12c06a (diff) | |
download | rtmux-60134cebda13ace3715ecdb4334fe7a5c272da4b.tar.gz rtmux-60134cebda13ace3715ecdb4334fe7a5c272da4b.tar.bz2 rtmux-60134cebda13ace3715ecdb4334fe7a5c272da4b.zip |
imsg was moved into libutil on OpenBSD.
-rw-r--r-- | compat.h | 4 | ||||
-rwxr-xr-x | configure | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: compat.h,v 1.24 2010-06-05 16:29:40 nicm Exp $ */ +/* $Id: compat.h,v 1.25 2010-06-06 13:00:46 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -81,6 +81,8 @@ typedef uint64_t u_int64_t; #ifndef HAVE_IMSG #include "compat/imsg.h" +#else +#include <imsg.h> #endif #ifdef HAVE_BROKEN_CMSG_FIRSTHDR @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.52 2010-06-05 18:14:29 nicm Exp $ +# $Id: configure,v 1.53 2010-06-06 13:00:47 tcunha Exp $ # # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> # @@ -67,6 +67,7 @@ case $TMUX_PLATFORM in #define HAVE_FGETLN #define HAVE_FORKPTY #define HAVE_GETOPT +#define HAVE_IMSG #define HAVE_PATHS_H #define HAVE_PROGNAME #define HAVE_QUEUE_H @@ -84,9 +85,7 @@ case $TMUX_PLATFORM in EOF cat <<EOF >>$CONFIG_MK LIBS+= -lcurses -lutil -levent -SRCS+= osdep-openbsd.c \ - compat/imsg-buffer.c \ - compat/imsg.c +SRCS+= osdep-openbsd.c EOF ;; # ------------------------------------------------------------------------------ |