changeset 42134:de525d9743c9

Include "config.h", not <../src/config.h>. (_XOPEN_SOURCE): Define as 500.
author Dave Love <fx@gnu.org>
date Tue, 18 Dec 2001 16:01:11 +0000
parents 14add4c935a4
children dfc99f4ae55e
files lib-src/fakemail.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 <config.h>
 
 #if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
 /* This program isnot used in BSD, so just avoid loader complaints.  */