diff -ur nomad.old/Client/net-tools/lib/x25_sr.c nomad.dev/Client/net-tools/lib/x25_sr.c
--- nomad.old/Client/net-tools/lib/x25_sr.c	2003-09-05 10:21:52.000000000 +0200
+++ nomad.dev/Client/net-tools/lib/x25_sr.c	2006-12-09 00:19:50.036574096 +0100
@@ -41,6 +41,10 @@
 
 #include "net-features.h"
 
+#ifdef X25_MASK_CALLING_AE
+typedef struct x25_address x25_address;
+#endif
+
 extern     struct aftype   x25_aftype;
 
 static int skfd = -1;