$NetBSD: patch-ab,v 1.1.1.1 2005/03/07 14:48:09 minskim Exp $ --- wdic_wob_v3.0.c.orig Mon Jan 3 06:29:42 2005 +++ wdic_wob_v3.0.c @@ -13,6 +13,9 @@ #include #include #include +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) +#include +#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("
", 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; }