From c5beb24d6ce1f9125aebc1e57c6a83257235ba3c Mon Sep 17 00:00:00 2001 From: rakshasa Date: Sun, 22 Apr 2007 16:11:31 +0000 Subject: [PATCH] * Fixed XMLRPC-C header. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@894 e378c898-3ddf-0310-93e7-cc216c733640 --- scripts/checks.m4 | 4 ++-- src/rpc/xmlrpc.cc | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/checks.m4 b/scripts/checks.m4 index ea7272b7..1efe4bab 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -77,7 +77,7 @@ AC_DEFUN([TORRENT_WITHOUT_EPOLL], [ AC_DEFUN([TORRENT_WITH_KQUEUE], [ AC_ARG_WITH(kqueue, - [ --with-kqueue enable kqueue. [[default=no]]], + [ --with-kqueue enable kqueue. [[default=no]]], [ if test "$withval" = "yes"; then AC_DEFINE(USE_KQUEUE, 1, Enable kqueue.) @@ -354,7 +354,7 @@ AC_DEFUN([TORRENT_WITH_XMLRPC_C], [ LIBS="$LIBS `xmlrpc-c-config --libs server-util` -lxmlrpc_server" AC_TRY_LINK( - [ #include + [ #include ],[ xmlrpc_registry_new(NULL); ], [ AC_MSG_RESULT(ok) diff --git a/src/rpc/xmlrpc.cc b/src/rpc/xmlrpc.cc index 42b7a174..9050cb25 100644 --- a/src/rpc/xmlrpc.cc +++ b/src/rpc/xmlrpc.cc @@ -38,8 +38,7 @@ #ifdef HAVE_XMLRPC_C #include -#include -#include +#include #endif #include