# HG changeset patch # User Dave Love # Date 1008691271 0 # Node ID de525d9743c93f244724d957fd4871950a45f3f8 # Parent 14add4c935a4dac754c66fc54b54d2eba95a4a55 Include "config.h", not <../src/config.h>. (_XOPEN_SOURCE): Define as 500. diff -r 14add4c935a4 -r de525d9743c9 lib-src/fakemail.c --- a/lib-src/fakemail.c Tue Dec 18 16:00:01 2001 +0000 +++ b/lib-src/fakemail.c Tue Dec 18 16:01:11 2001 +0000 @@ -18,12 +18,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* This is needed to get the declaration of cuserid in GNU libc. */ -#define _XOPEN_SOURCE 1 - #define NO_SHORTNAMES -#include <../src/config.h> +#define _XOPEN_SOURCE 500 /* for cuserid */ +#include #if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) /* This program isnot used in BSD, so just avoid loader complaints. */