* to emulate the serial input and output of an 8051 controller *
* main.cc - the main stuff *
******************************************************************************/
+#include "ddconfig.h"
#include <sys/types.h>
#include <iostream.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
+#ifdef HAVE_GETOPT_H // fix of bug #533274
+#include <getopt.h>
+#endif
#include "fileio.hh"
#include "frontend.hh"
#include "posix_signal.hh"
char *string = new char[MAX_SIZ];
extern char *optarg;
int errflg=0;
- char c;
+ int c;
char *infile = DEF_INFILE;
char *outfile = DEF_OUTFILE;