Oops. As Matthias pointed out, I swapped '-' for '_' in the previous
commit. Fix that. Also, some applications written for newer libevent want event.h to pull in event_config.h by magic.
This commit is contained in:
parent
dd0c11eb26
commit
3682b97c0d
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2009/08/19 01:38:39 tls Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2009/08/19 15:18:05 tls Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
|
||||
NOLINT= # Until someone explains to me how to avoid lint stupidity
|
||||
@ -11,7 +11,7 @@ LIB= event
|
||||
SRCS= buffer.c evbuffer.c evdns.c event.c event_tagging.c evrpc.c evutil.c \
|
||||
http.c kqueue.c log.c poll.c signal.c
|
||||
|
||||
INCS= evdns.h event.h evhttp.h evrpc.h evutil.h event_config.h
|
||||
INCS= evdns.h event.h evhttp.h evrpc.h evutil.h event-config.h
|
||||
INCSDIR=/usr/include
|
||||
|
||||
MAN= evdns.3 event.3
|
||||
@ -89,7 +89,7 @@ MLINKS+=evdns.3 evdns_search_add.3
|
||||
MLINKS+=evdns.3 evdns_search_ndots_set.3
|
||||
MLINKS+=evdns.3 evdns_set_log_fn.3
|
||||
|
||||
event_config.h: config.h
|
||||
event-config.h: config.h
|
||||
sed -e 's/#define /#define _EVENT_/' ${.ALLSRC} > ${.OBJDIR}/${.TARGET}
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: event.h,v 1.6 2009/07/08 21:23:53 tls Exp $ */
|
||||
/* $NetBSD: event.h,v 1.7 2009/08/19 15:18:05 tls Exp $ */
|
||||
/* $OpenBSD: event.h,v 1.4 2002/07/12 18:50:48 provos Exp $ */
|
||||
|
||||
/*
|
||||
@ -165,6 +165,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <event-config.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <stdint.h>
|
||||
|
Loading…
Reference in New Issue
Block a user