diff --git a/daemon/configure.ac b/daemon/configure.ac index d78f9b1ba70734e26e31d6d74dcfc850286bbdcb..eb32f13813477aca5a05cd36f0ab484426b334f2 100644 --- a/daemon/configure.ac +++ b/daemon/configure.ac @@ -190,10 +190,9 @@ dnl DBus-C++ detection dnl pkg-config doesn't like 0.6.0-pre1 version number, it assumes that it is dnl more recent than (unreleased) 0.6.0 DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1 -PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,, +PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1, AC_DEFINE_UNQUOTED(HAVE_DBUS, 1, [D-Bus support enabled]), AC_MSG_ERROR([You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)])) - # Instant Messaging # required dependency(ies): libxpat AC_ARG_WITH([instant_messaging], diff --git a/daemon/src/sip/siptransport.cpp b/daemon/src/sip/siptransport.cpp index 8ea95e2ffc074c90741ff3e0754d5451eee80881..144190cb2a931ec44ac4c4ad9607fc02ccb3709b 100644 --- a/daemon/src/sip/siptransport.cpp +++ b/daemon/src/sip/siptransport.cpp @@ -29,6 +29,10 @@ * as that of the covered work. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <map> #include <pjsip.h>