*/
-#include "internal.h"
+#include "busybox.h"
#include <termios.h>
#include <unistd.h>
#include <errno.h>
#define DOTRACE 1
#endif
-#if DOTRACE
+#ifdef DOTRACE
#include <arpa/inet.h> /* for inet_ntoa()... */
#define TRACE(x, y) do { if (x) printf y; } while (0)
#else
struct hostent * he;
if ((he = gethostbyname(host)) == NULL)
{
- fatalError("%s: Unkonwn host\n", host);
+ fatalError("%s: Unknown host\n", host);
}
memcpy(&addr, he->h_addr, sizeof addr);