// -- cAuxSrv ------------------------------------------------------------------
-#define HAS_AUXSRV
-
#ifdef HAS_AUXSRV
#include "network.h"
#define AUX_PROTOCOL_VERSION 2
-static int auxEnabled=0;
-static int auxPort=7777;
-static char auxAddr[80]="localhost";
-static char auxPassword[250]="auxserver";
+int auxEnabled=0;
+int auxPort=7777;
+char auxAddr[80]="localhost";
+char auxPassword[250]="auxserver";
class cAuxSrv : public cMutex {
private:
// ----------------------------------------------------------------
+#define HAS_AUXSRV
+
+#ifdef HAS_AUXSRV
+extern int auxEnabled;
+extern int auxPort;
+extern char auxAddr[80];
+extern char auxPassword[250];
+#endif
+
+// ----------------------------------------------------------------
+
class cN2Timer {
private:
int ctrl, divisor, cycles, remainder, latch;