@@ -30,7 +30,6 @@
* Handy aliases for memory tracking and core dumps
*/
#ifdef DEBUG_CONTEXT
-# include "main.h"
# define Context eggContext(__FILE__, __LINE__, NULL)
# define ContextNote(note) eggContextNote(__FILE__, __LINE__, NULL, note)
#else
@@ -14,11 +14,12 @@
#include "rfc1459.h"
#include "users.h"
#include "misc.h"
+#include "main.h"
extern struct userrec *userlist;
extern tand_t *tandbot;
extern struct dcc_t *dcc;
-extern int debug_output, backgrd, term_z, use_stderr,
+extern int debug_output, backgrd, term_z,
dcc_total, loading;
extern time_t now;
@@ -1,6 +1,8 @@
#ifndef _MAIN_H
#define _MAIN_H
+extern int use_stderr;
+
#ifndef MAKING_MODS
int crontab_exists();
void crontab_create(int);