version 0.5.2
[fw/sdcc] / sim / ucsim / gui.src / serio.src / main.cc
index 5293a1745c6d74766557aa691fc51900bc3dc442..98ea1bd0b57c2a06b2a9ab1e02113eab4e7d0ad3 100644 (file)
@@ -2,6 +2,8 @@
  * 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>
 #include <stdlib.h>
@@ -92,7 +94,7 @@ int main(int argc, char **argv)
 
                if(string[0] != 0)
                        fobj->SendByte(string[0]);
-
+               
                if(fobj->RecvStr(string) > 0)
                        view->AddStrOutWin(string);