imsg was moved into libutil on OpenBSD.

This commit is contained in:
Tiago Cunha 2010-06-06 13:00:47 +00:00
parent f34861bad4
commit 60134cebda
2 changed files with 6 additions and 5 deletions

View File

@ -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> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -81,6 +81,8 @@ typedef uint64_t u_int64_t;
#ifndef HAVE_IMSG #ifndef HAVE_IMSG
#include "compat/imsg.h" #include "compat/imsg.h"
#else
#include <imsg.h>
#endif #endif
#ifdef HAVE_BROKEN_CMSG_FIRSTHDR #ifdef HAVE_BROKEN_CMSG_FIRSTHDR

7
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh #!/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> # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
# #
@ -67,6 +67,7 @@ case $TMUX_PLATFORM in
#define HAVE_FGETLN #define HAVE_FGETLN
#define HAVE_FORKPTY #define HAVE_FORKPTY
#define HAVE_GETOPT #define HAVE_GETOPT
#define HAVE_IMSG
#define HAVE_PATHS_H #define HAVE_PATHS_H
#define HAVE_PROGNAME #define HAVE_PROGNAME
#define HAVE_QUEUE_H #define HAVE_QUEUE_H
@ -84,9 +85,7 @@ case $TMUX_PLATFORM in
EOF EOF
cat <<EOF >>$CONFIG_MK cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lutil -levent LIBS+= -lcurses -lutil -levent
SRCS+= osdep-openbsd.c \ SRCS+= osdep-openbsd.c
compat/imsg-buffer.c \
compat/imsg.c
EOF EOF
;; ;;
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------