mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
from trunk: rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku
svn:r1034
This commit is contained in:
parent
7682ff80ba
commit
636e74a7b9
@ -2,6 +2,7 @@ Changes in 1.4.10-stable:
|
||||
o clean up buffered http connection data on reset; reported by Brian O'Kelley
|
||||
o bug fix and potential race condition in signal handling; from Alexander Drozdov
|
||||
o rename the Solaris event ports backend to evport
|
||||
o support compilation on Haiku
|
||||
|
||||
Changes in 1.4.9-stable:
|
||||
o event_add would not return error for some backends; from Dean McNamee
|
||||
|
@ -1,4 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
# This is the point release for libevent. It shouldn't include any
|
||||
# a/b/c/d/e notations.
|
||||
|
@ -2,6 +2,8 @@ dnl configure.in for libevent
|
||||
dnl Dug Song <dugsong@monkey.org>
|
||||
AC_INIT(event.c)
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AM_INIT_AUTOMAKE(libevent,1.4.9-stable)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
dnl AM_MAINTAINER_MODE
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
@ -43,7 +43,7 @@
|
||||
#ifndef WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <sys/queue.h>
|
||||
#ifndef WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <unistd.h>
|
||||
@ -89,7 +89,7 @@ dns_gethostbyname_cb(int result, char type, int count, int ttl,
|
||||
|
||||
switch (type) {
|
||||
case DNS_IPv6_AAAA: {
|
||||
#if defined(HAVE_STRUCT_IN6_ADDR) && defined(HAVE_INET_NTOP)
|
||||
#if defined(HAVE_STRUCT_IN6_ADDR) && defined(HAVE_INET_NTOP) && defined(INET6_ADDRSTRLEN)
|
||||
struct in6_addr *in6_addrs = addresses;
|
||||
char buf[INET6_ADDRSTRLEN+1];
|
||||
int i;
|
||||
@ -258,7 +258,7 @@ dns_server_gethostbyname_cb(int result, char type, int count, int ttl,
|
||||
break;
|
||||
}
|
||||
case DNS_IPv6_AAAA: {
|
||||
#if defined (HAVE_STRUCT_IN6_ADDR) && defined(HAVE_INET_NTOP)
|
||||
#if defined (HAVE_STRUCT_IN6_ADDR) && defined(HAVE_INET_NTOP) && defined(INET6_ADDRSTRLEN)
|
||||
struct in6_addr *in6_addrs = addresses;
|
||||
char buf[INET6_ADDRSTRLEN+1];
|
||||
if (memcmp(&in6_addrs[0].s6_addr, "abcdefghijklmnop", 16)
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <sys/queue.h>
|
||||
#ifndef WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <sys/queue.h>
|
||||
#ifndef WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <sys/signal.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user