From: Nathan Bryant Date: Thu, 11 Dec 2003 03:44:18 +0000 (+0000) Subject: domain.c: include if present X-Git-Tag: v7.86~5675 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1f93a4dc6b8f795b4fc5e75707bfa46a632ca151 domain.c: include if present configure.ac: check for --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 82f847814..a27f0f57a 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 612.11 2003/12/11 03:44:18 nbryant + domain.c: include if present + configure.ac: check for + Revision 612.10 2003/12/10 03:58:26 ajc * Completed a more accurate implementation of the ENVELOPE fetch in IMAP. @@ -5142,4 +5146,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/configure.ac b/citadel/configure.ac index c0aa5336c..c990f4b23 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -421,7 +421,7 @@ dnl dnl TODO: for the DB header checks, we should check whether the headers dnl define db_env_create, somehow dnl -AC_CHECK_HEADERS(curses.h dl.h fcntl.h limits.h malloc.h termios.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h utmp.h utmpx.h paths.h db.h db4/db.h pthread.h netinet/in.h arpa/nameser.h) +AC_CHECK_HEADERS(curses.h dl.h fcntl.h limits.h malloc.h termios.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h utmp.h utmpx.h paths.h db.h db4/db.h pthread.h netinet/in.h arpa/nameser.h arpa/nameser_compat.h) dnl dnl need to check if this is actually compilable, sometimes there are diff --git a/citadel/domain.c b/citadel/domain.c index 6e0987089..94d93d407 100644 --- a/citadel/domain.c +++ b/citadel/domain.c @@ -14,6 +14,9 @@ #ifdef HAVE_RESOLV_H #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #include #endif