# include <config.h>
#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h> // bcopy()
+#else
+# include <string.h> // MSVC doesn't have strings.h
+#endif
+
+
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sgstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <GUI/gui.h>
-static puDialogBox *ATCMenuBox = 0;
-static puFrame *ATCMenuFrame = 0;
-static puText *ATCMenuBoxMessage = 0;
FGTransmissionList *current_transmissionlist;
char crej = '@';
char mes[cmax];
char dum[cmax];
- char buf[10];
+ //char buf[10];
char *pos;
int len;
FGTransmission t;
while ( strchr(&mes[0], crej) != NULL ) {
pos = strchr( &mes[0], crej );
- bcopy(pos, &tag, 3);
+ bcopy(pos, &tag[0], 3);
tag[3] = '\0';
int i;
len = 0;