* 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"