aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/fakemail.c
diff options
context:
space:
mode:
authorDave Love2001-12-18 16:01:11 +0000
committerDave Love2001-12-18 16:01:11 +0000
commita33c19b172bb5f620ec3085e27c216b115580faa (patch)
treea6da392132e03819c6bc3fcb7cea2b393c75e63e /lib-src/fakemail.c
parentba723d8e826f70f3a69c935403db202c5296516a (diff)
downloademacs-a33c19b172bb5f620ec3085e27c216b115580faa.tar.gz
emacs-a33c19b172bb5f620ec3085e27c216b115580faa.zip
Include "config.h", not <../src/config.h>.
(_XOPEN_SOURCE): Define as 500.
Diffstat (limited to 'lib-src/fakemail.c')
-rw-r--r--lib-src/fakemail.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
index 588496a8ed4..7ca3ae50d0d 100644
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -18,12 +18,9 @@ along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */ 19Boston, MA 02111-1307, USA. */
20 20
21
22/* This is needed to get the declaration of cuserid in GNU libc. */
23#define _XOPEN_SOURCE 1
24
25#define NO_SHORTNAMES 21#define NO_SHORTNAMES
26#include <../src/config.h> 22#define _XOPEN_SOURCE 500 /* for cuserid */
23#include <config.h>
27 24
28#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) 25#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
29/* This program isnot used in BSD, so just avoid loader complaints. */ 26/* This program isnot used in BSD, so just avoid loader complaints. */