$NetBSD: patch-ab,v 1.2 2005/11/08 03:06:06 tv Exp $

--- wdic_wob_v3.0.c.orig	Mon Jan  3 06:29:42 2005
+++ wdic_wob_v3.0.c
@@ -13,6 +13,9 @@
 #include <string.h>
 #include <netdb.h>
 #include <sys/socket.h>
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__INTERIX)
+#include <netinet/in.h>
+#endif
 
 #define VERSION	"v3.0"
 #define URL	"engdic.empas.com"
@@ -66,7 +69,7 @@ void parse_result(int sd) {
 
                                 if(main_start==1) { 
 				  if(strcmp("<br>", buf) == 0) { printf("\n");	}
- 				  else if((strstr(buf, "left:8px")!=NULL) || (strstr(buf, "v_ico_plus")!=NULL)) {
+ 				  else if((strstr(buf, "margin-top:15px")!=NULL) || (strstr(buf, "v_ico_plus")!=NULL)) {
 				    // stop parsing main
 				    main_start = 0;
 				  }
