$NetBSD: patch-an,v 1.4 2001/02/03 01:53:03 dmcmahill Exp $

--- main.c.orig	Mon Nov 18 23:00:47 1991
+++ main.c	Fri Feb  2 18:05:38 2001
@@ -26,5 +26,5 @@
 #include <sys/types.h>
 #include <sys/stat.h>
-#if !defined(mips) || defined(ultrix)
+#if !defined(mips) || defined(ultrix) || (defined(BSD) && BSD >= 199306)
 #include <netdb.h>
 #else
@@ -37,4 +37,6 @@
 #include <ctype.h>
 
+#include <string.h>
+
 #ifdef DNSLOOKUP
 #include <sys/socket.h>
@@ -64,4 +66,5 @@
   "bell",                  /* Integer: number of beeps for new arrival. */
   "flash",                 /* Integer: number of flashes for new arrival. */
+  "borderWidth",           /* Integer: border width of window. */
   "lower",                 /* Boolean: lower window if no mail. */
   "raise",                 /* Boolean: raise window on update? */
@@ -151,4 +154,5 @@
 int firsttime = 1 ;     /* Zeroised after first mail/printer check. */
 int flashes = 0 ;       /* Number of flashes for arrival of new mail. */
+int border_width = 2 ;	/* Border width of window. */
 int fromc_found = 0 ;   /* Set if "From:" line found during processing. */
 int froms_found = 0 ;   /* Set if "From " line found during processing. */
@@ -744,7 +748,8 @@
   if (get_str_resource(R_BGICON,    str))      read_str(&bgicon,        str) ;
 
-  if (get_int_resource(R_PERIOD,    &intval))  period       = intval ;
-  if (get_int_resource(R_BELL,      &intval))  beeps        = intval ;
-  if (get_int_resource(R_FLASH,     &intval))  flashes      = intval ;
+  if (get_int_resource(R_PERIOD,     &intval)) period       = intval ;
+  if (get_int_resource(R_BELL,       &intval)) beeps        = intval ;
+  if (get_int_resource(R_FLASH,      &intval)) flashes      = intval ;
+  if (get_int_resource(R_BORDERWIDTH,&intval)) border_width = intval ;
 
   if (get_bool_resource(R_LOWER,    &boolval)) lowerwindow  = boolval ;
