$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:31 agc Exp $ --- authenticate.c.orig Wed May 13 17:57:39 1998 +++ authenticate.c Tue Jul 21 11:04:20 1998 @@ -22,7 +22,10 @@ #else #include "config.h" +#include +#if !(defined(BSD) && BSD >= 199306) #define _XOPEN_SOURCE +#endif #include #include @@ -44,7 +47,7 @@ #define VIRTUALUSER "vpop" #ifndef MAILSPOOLDIR -#define MAILSPOOLDIR "/var/spool/mail/" /* watch the trailing / */ +#define MAILSPOOLDIR "/var/mail/" /* watch the trailing / */ #endif #ifndef MAILSPOOLHASH #define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */