libical, expat, and libsieve are now *required*.
[citadel.git] / citadel / modules / rssclient / serv_rssclient.c
index 78afc9b875a3a39ab50f5955021aa57ed8c56af7..465d02348716827264d577aeae48f98b30ff023a 100644 (file)
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <expat.h>
 #include <libcitadel.h>
 #include "citadel.h"
 #include "server.h"
@@ -41,9 +42,6 @@
 #include "citadel_dirs.h"
 #include "md5.h"
 
-#ifdef HAVE_EXPAT
-#include <expat.h>
-
 
 struct rssnetcfg {
        struct rssnetcfg *next;
@@ -629,19 +627,12 @@ void *rssclient_scan(void *args) {
 }
 
 
-#endif /* HAVE_EXPAT */
-
 CTDL_MODULE_INIT(rssclient)
 {
        if (threading)
        {
-#ifdef HAVE_EXPAT
                CtdlThreadSchedule ("RSS Client", CTDLTHREAD_BIGSTACK, rssclient_scan, NULL, 0);
-#else
-               lprintf(CTDL_INFO, "This server is missing the Expat XML parser.  RSS client will be disabled.\n");
-#endif
        }
-       
        /* return our Subversion id for the Log */
         return "$Id: serv_rssclient.c 5652 2007-10-29 20:14:48Z ajc $";
 }