The atheme.h in v7.3 includes all headers necessary, so we should only
include other Atheme headers if we are building for v7.2 or lower; not
only is including them pointless, but they no longer exist at the old
paths as of Atheme commit
81323dfcaa240ac5ca48
#include "atheme-compat.h"
+#if (CURRENT_ABI_REVISION < 730000)
+# include "serno.h"
+#endif
+
#if (defined(__linux__) || defined(__Linux__)) && defined(__GLIBC__)
# if (__GLIBC__ == 2) && defined(__GLIBC_MINOR__) && (__GLIBC_MINOR__ >= 1)
# define HAVE_BACKTRACE_SUPPORT 1
#include <signal.h>
#include <sys/resource.h>
-#include "serno.h"
-
#define MIN_STACK_FRAMES 3
#define MAX_STACK_FRAMES 64
*/
#include "atheme-compat.h"
-#include "template.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "template.h"
+#endif
typedef struct {
const char *res;
*/
#include "atheme-compat.h"
-#include "conf.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+#endif
static mowgli_list_t regnotices = { NULL, NULL, 0 };
*/
#include "atheme-compat.h"
-#include "conf.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+#endif
/* A configured DNSBL */
struct Blacklist {
*/
#include "atheme-compat.h"
-#include "datastream.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "datastream.h"
+#endif
static connection_t *listener = NULL;
*/
#include "atheme-compat.h"
-#include "datastream.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "datastream.h"
+#endif
static connection_t *listener = NULL;
*/
#include "atheme-compat.h"
-#include "uplink.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "uplink.h"
+#endif
static void
ns_cmd_ajoin_syntaxerr(sourceinfo_t *si)
*/
#include "atheme-compat.h"
-#include "conf.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+#endif
static mowgli_list_t guestnicks = { NULL, NULL, 0 };
*/
#include "atheme-compat.h"
-#include "conf.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+#endif
static mowgli_list_t regnotices = { NULL, NULL, 0 };
*/
#include "atheme-compat.h"
-#include "conf.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+#endif
+
#include <limits.h>
unsigned int waitreg_time = 0;
#include "atheme-compat.h"
-#include "conf.h"
-#include "datastream.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "conf.h"
+# include "datastream.h"
+#endif
#ifndef _WIN32
*/
#include "atheme-compat.h"
-#include "uplink.h" /* sts() */
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "uplink.h" /* sts() */
+#endif
static void
os_cmd_helpme(sourceinfo_t *si, int parc, char *parv[])
*/
#include "atheme-compat.h"
-#include "datastream.h"
+
+#if (CURRENT_ABI_REVISION < 730000)
+# include "datastream.h"
+#endif
#ifndef _WIN32